Re: Cross-Browser problems with Netscpae 7.0 & 4.72
From: Mark Fitzpatrick (markfitz_at_fitzme.com)
Date: 03/22/04
- Next message: Mark Fitzpatrick: "Re: Access Database - Display Image if it exists"
- Previous message: Stan Hilliard: "Looking for a IPP with FP2000 extensions"
- In reply to: news frontiernet.net: "Cross-Browser problems with Netscpae 7.0 & 4.72"
- Next in thread: Jim Buyens: "re: Cross-Browser problems with Netscpae 7.0 & 4.72"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 22 Mar 2004 14:21:46 -0600
Unfortunately, there are a lot of annoying differences.
The easiest, the transparency on the gifs may be working just fine. The
problem is, they may not be showing as transparent to their container and
are probably basing their transparency off the background of the page
instead. You may try to set the background color of the body tag
specifically to see if this works.
As far as fonts go, the different browsers often have a slightly different
way of rendering fonts. That's why a text box set for 20 characters in IE
looks like it's the right size, but in Navigator it's about half the size
and doesn't take 20 characters. You may have to manually set the spacing
above and below the font in the CSS to guarantee that it gets a consistant
appearance.
The big problem though, NS doesn't use the same terminology to show and hide
layers. Navigator 4.x introduced DHTML using the <layer> tag. Unfortunately
for them, the W3C rejected this as a way to do DHTML in HTML 4 but Netscape
was committed by that point to their own proprietary way of doing things.
Unfortunately that means you're going to have to change your script and use
a cross-browser script. You should be able to find lots of show/hide layer
scripts at javascript.internet.com, www.dynamicdrive.com and other script
repositories. One such is at:
http://javascript.internet.com/bgeffects/write-layer.html and you can get an
idea of the differences just by looking at it's browser detection routines.
Hope this helps,
Mark Fitzpatrick
Microsoft MVP - FrontPage
"news frontiernet.net" <rfrohrer@rconnect.com> wrote in message
news:8rH7c.343$1X1.55@news01.roc.ny...
> I am using FrontPage 2002 for these tasks.
>
> I am trying to implement a CSS and .JS oriented approach to helping
visitors
> to Worthington Community Internet find business by categories, similar to
> the way one uses a YELLOW PAGES. I do this as a volunteer.
>
> In the past, I have relied upon tables and Java applets to provide these
> facilities. I am trying to change to CSS.
>
> So far, I have been able to figure out how to code the CSS and modify a
> publicly available SHOW.HIDE Javascript to present a nice looking
> Cagtegories Panel that works well in MSIE. This can be seen at:
> http://www.wgtn.net/Business/category_layer.htm
>
> Oh, I was so happy and confident that this was going well and would be
very
> useful. Ha! Then I looked at it with Netscape 7.0 and my optimism was
> replaced with dismay! It does NOT look nice with Netscape 7.0 NOR do the
> onmouseover NOR onClick Javascript event triggers work. And, even worse,
> Netscape 4.72 is a terrible mess!
>
> Netscape 7.0 can be seen in this PDF file (
> http://www.wgtn.net/Business/category_layer_ns7.pdf) and has these errors;
> 1) The letters no longer fit the letter panel. "Z" extends below the
panel.
> Why?
> 2) The transparency on the .gif images seems to not work. Why?
> 3) The positions of the left arrow image is further to the left thanon the
> mSIE version. Why?
> 4) NONE of the onmouseover or onClick events trigger the Javascript
actions
> asssociated with them that work well in MSIE. Why?
>
> Netscape 4.72 is a total mess and can be seen at: (
> http://www.wgtn.net/Business/category_layer_ns472.pdf)
>
> The External Javascript file can be seen at:
> http://www.wgtn.net/Business/category_layer_js.pdf
>
>
> What do I need to do to make this work cross-browser on recent browsers
like
> Netscape 7.0?
>
> What should I do to handle Netscpape 4.72. Ignore them? Or what?
>
>
>
>
- Next message: Mark Fitzpatrick: "Re: Access Database - Display Image if it exists"
- Previous message: Stan Hilliard: "Looking for a IPP with FP2000 extensions"
- In reply to: news frontiernet.net: "Cross-Browser problems with Netscpae 7.0 & 4.72"
- Next in thread: Jim Buyens: "re: Cross-Browser problems with Netscpae 7.0 & 4.72"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|