Re: Cross-Browser problems with Netscpae 7.0 & 4.72

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Mark Fitzpatrick (markfitz_at_fitzme.com)
Date: 03/22/04


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?
>
>
>
>



Relevant Pages

  • Re: Cross-Browser problems with Netscpae 7.0 & 4.72
    ... That will fix the script - for the layout I'd remove heights from your main ... going to be the same height in any 2 browsers. ... > a publicly available SHOW.HIDE Javascript to present a nice looking ... Then I looked at it with Netscape 7.0 and my ...
    (microsoft.public.frontpage.client)
  • Re: How to move this JS code into a separate file and simplify it?
    ... the the whole HTML code. ... This might have been better suited to a JavaScript group, ... at least not if you put the script src into the head section. ... Netscape 4 specific code? ...
    (comp.infosystems.www.authoring.html)
  • Re: Bug in calendar control
    ... It is actually more than just javascript: ... It is ANY hyperlink that ... I tried to regenerate it in Netscape and couldn't! ... I managed to suppress this behaviour using a client side script.. ...
    (microsoft.public.dotnet.framework.aspnet.webcontrols)
  • Re: Excpected ] what could it be?!
    ... >>an ASP page with HTTP header ... text/html for serving JavaScript. ... As for browsers as far as I remember Netscape 3 for instance refused ... script content not served as application/x-javascript but Netscape 3 is ...
    (microsoft.public.scripting.jscript)
  • converting file dates into script variables
    ... a script was posted a few years ago that demonstrated the conversion ... of an IE favorites directory into a Netscape bookmarks.html file. ... Subject: IE Bookmarks into Netscape ... # Create some locals so we don't override the parent context. ...
    (comp.unix.shell)