Re: Netscape 6 and DHTML

by "Lisa H" <nstar92(at)bellatlantic.net>

 Date:  Wed, 15 Nov 2000 15:33:46 -0600
 To:  "Arcady" <arcady0(at)pacbell.net>,
<hwg-techniques(at)hwg.org>
 References:  vvonline pacbell
  todo: View Thread, Original
I have trouble with the WC3 validator. It never gives me any credit for work
done, and constantly tells me I am wrong!
----- Original Message -----
From: "Arcady" <arcady0(at)pacbell.net>
To: <hwg-techniques(at)hwg.org>
Sent: Wednesday, November 15, 2000 12:22 PM
Subject: Re: Netscape 6 and DHTML


| This is why I stated 'div-tag layers' over and over again in my message.
| Rather than 'layer tag'.
|
| 'layer tag' is NS4.x only. It was never W3C complient. So it's gone. Div
| on the other hand, as well as iframe; are W3C complient. But W3C does
| them differently than IE 5.x does. Which is probably why they're no
| longer functioning fully on sites with them.
|   Mine are showing where they're set visible by default. However the
| invisible ones are staying hidden even when I trigger the event handlers
| that would formally have activated them.
|
| And as for loading external content into them; it looks from what I'm
| reading that this option is no longer there at all... Which would be a
| very bad thing if true.
|
|
| R. Michael Dowden wrote:
|
| > Don't quote me, but I think I've read (in several places) that N6 is not
| > going to support layers and other netscape specific dhtml tags....
| >
| > Don't quote me, again...but I'd swear I saw that on this list (several
| > times) during the last browser war (and I don't mean to start another!)
| >
| >
| > --
| > Mike
| > www.vvonline.com
| > mdowden(at)vvonline.com
| >
| >
| >
| > -----Original Message-----
| > From: owner-hwg-techniques(at)hwg.org
| > [mailto:owner-hwg-techniques(at)hwg.org]On Behalf Of Arcady
| > Sent: Tuesday, November 14, 2000 6:35 PM
| > To: hwg-techniques(at)hwg.org
| > Subject: Re: Netscape 6 and DHTML
| >
| >
| > Tried that and got a no go.
| >
| > The page in question uses a lot of layering with div tags and
| > the loading of scrollable external pages into these (div tag) layers.
| >
| > Failing is the ability to load in an external page and the
| > ability to make a hidden layer visible.
| >
| > http://www.geocities.com/arcady0/dnd3e/
| >
| > Scripts are stored here:
| > http://www.geocities.com/arcady0/js_css/
| >
| >
| > It's a hobby page. Put together to test these functions before
| > I try to implement them on something professional. :)
| >
| > This is one of several sites I have or know of that have now 'gone
| > dead'. Fortunately none of my professional work has died. Though I've
| > seen a few other professional sites that had come to use layering die
out.
| >
| >
| > Here's my layer visibility toggling code (with my current state of error
| > checking still in it):
| >
| > //INITS
| >
| > var previouslayer = "";
| >
| >        if (document.layers) {
| >
| > alert('hi');
| >                   layerRef="document.layers";
| >                   styleSwitch="";
| >        }else if (parseFloat(navigator.appVersion) >= 5){
| >
| > alert('hi3');
| > layerRef="";
| >                   styleSwitch=".style";
| >            }
| >        }else{
| >
| > alert('hi2');
| >                   layerRef="document.all";
| >                   styleSwitch=".style";
| >            }
| >
| > var previouslayer2 = "";
| >
| > //HIDING AND SHOWING LAYER CODE
| >           function showLayer(layerName){
| > if (previouslayer != "") { eval(previouslayer+'.visibility="hidden"'); }
| > if (previouslayer2 != "")
| > { eval(previouslayer2+'.visibility="hidden"'); }
| >
| > eval(layerRef+'["'+layerName+'"]'+styleSwitch+'.visibility="visible"');
| > previouslayer = layerRef+'["'+layerName+'"]'+styleSwitch;
| > }
| >           function showLayer2(layerName,layerName2){
| >
| > eval(layerRef+'["'+layerName+'"]'+styleSwitch+'.visibility="visible"');
| >
| > eval(layerRef+'["'+layerName2+'"]'+styleSwitch+'.visibility="visible"');
| > previouslayer = layerRef+'["'+layerName+'"]'+styleSwitch;
| > previouslayer2 = layerRef+'["'+layerName2+'"]'+styleSwitch;
| > }
| >           function hideLayer(layerName){
| >
| > eval(layerRef+'["'+layerName+'"]'+styleSwitch+'.visibility="hidden"');
| >           }
| >
| > // End -->
| >
| >
| > These layers are layers stored in the main page inside of div tags.
| > For the externally loaded div-tag layers I used a solution I got from
| > Dan Steinman at http://www.dansteinman.com/dynapi/
| >
| >
| > While NS6 and IE5 are similar; they aren't turning out to be exact
| > enough in the areas I need to get going. :)
| >
| >
| >
| >
| > Steve Baty wrote:
| >
| >  > Arcady,
| >  >
| >  > I ran into a similar problem with NN6 pr3. The problem I had was that
my
| >  > browser detect code treated NN6 in the same way it did NN4.x. The
| > reality is
| >  > that NN6 is more like IE5. Try your scripts in NN6 with the same
| > settings as
| >  > IE5 and see how it goes.
| >  >
| >  > Cheers
| >  >
| >  > Steve Baty
| >  > Technical Director
| >  > Red Square
| >  > ----- Original Message -----
| >  > From: "Arcady" <arcady0(at)pacbell.net>
| >  > To: <hwg-techniques(at)hwg.org>
| >  >
| >  >> Well netscape 6 final version came out...
| >  >>
| >  >> Finally... :)
| >  >>
| >  >> I installed it and went to a few DHTML pages of mine and noticed
that my
| >  >> formerly crossbrowser DHTML has all died.
| >  >>
| >  >> Any ideas on where I can find documentation to get DHTML to work
with
| >  >> Netscape 6.
|
|
| --
| /.)\ Arcady <0){{{{><
| \(@/ Projects: http://www.geocities.com/arcady0/
|

HWG hwg-techniques mailing list archives, maintained by Webmasters @ IWA