Oh, but yes there is!
If you set absolute-positioning to the div-tag, like:
#creditCard{
position:absolute;
and so on...
}
With this Netscape automatically transforms the div tag to a layer.
It does'nt have all the properties that a real layer have but you can set
the visibility witch was what you asked for...
/Peter
----- Original Message -----
From: "Oleg Kapeljushnik" <c-oleg.kapeljushnik@w...>
To: "JavaScript HowTo" <javascript_howto@p...>
Sent: Wednesday, December 19, 2001 8:48 PM
Subject: [javascript_howto] RE: NN and DIV tags
> Hi !
>
> As far as I know there is no DIV tags in Netscape.
> You should use LAYER tag instead.
>
> Oleg
>
>
> -----Original Message-----
> From: meckeard2000@y... [mailto:meckeard2000@y...]
> Sent: December 19, 2001 11:39 AM
> To: JavaScript HowTo
> Subject: [javascript_howto] NN and DIV tags
>
>
> Hi,
>
> I am trying to show/hide DIV tags in NN 4.7 but seems to be having
> trouble. Here is my line of code:
>
> document.layers["creditCard"].visibility = "hide";
>
> Here is my HTML:
>
> <DIV ID="creditCard">
> <TABLE BORDER=0 WIDTH="100%">
> <TR>
> <TD WIDTH=100><FONT COLOR="DARKBLUE" FACE="Arial" SIZE="1">Card
> Number :</TD>
> <TD><INPUT NAME="Card_Number" TYPE="TEXT"></TD></TR>
> <TR>
> <TD><FONT COLOR="DARKBLUE" FACE="Arial" SIZE="1">Expiration
> Date :</TD>
> <TD><INPUT NAME="Expiration_Date" TYPE="TEXT" maxlength=4 size=5>
> <FONT COLOR="DARKBLUE" FACE="Arial" SIZE="1">(MMYY)</TD>
> </TR>
> </TABLE>
> </DIV>
>
> And here is the error message I get from NN:
>
> "document.layers.creditCard has no properties."
>
> Can anyone help me?
>
> Thanks,
> Mark
> $subst('Email.Unsub').
>
>
$subst('Email.Unsub').