Search the archives!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Javascript] show-hide layers in NN 6
- From: javascript@xxxxxxxxxx (Manuel Socarras Reyes)
- Subject: [Javascript] show-hide layers in NN 6
- Date: Tue, 20 Aug 2002 23:05:42 +0200
it works fine in
W'2000: IE 6.0, NN 4.7
MacOS 9.0.4: IE 5.0, IE 5.1, NN 4.78
it doesn't work in NN 6.2.1, neither in Windows nor in Mac. i guess it
has something to do with the new DOM in NN 6. TIA,
----------------------------------------------------------------------------
<SCRIPT language="JavaScript">
function show_text(){
if (document.all){
document.all.textLayer.style.visibility= "visible";
}else{
document.textLayer.visibility= "show";
// document.textLayer.visibility= "visible";
}
}
function hide_text(){
if (document.all){
document.all.textLayer.style.visibility= "hidden";
}else{
document.textLayer.visibility= "hide";
// document.textLayer.visibility= "hidden";
}
}
</SCRIPT>
--
Saludos,
Manuel Socarrás Reyes <msocarras@xxxxxxxx>
Barcelona. Spain
> wich is the equivalent in NN6 (JS 1.5) for the property visibility =
> show/hide?
Harry Love wrote:
>Manuel,
>Can you provide an example, preferably a URL?
>
>Regards,
>Harry
>
Peter-Paul Koch wrote:
> visible/hidden . It has nothing to do with the JavaScript version,
> BTW, only with NN4's strange implementation of CSS1.
>
> ppk
- References:
- [Javascript] show-hide layers in NN 6
- From: Harry Love
- [Javascript] show-hide layers in NN 6
- Prev by Date: [Javascript] DHTML overlapping SELECT and .ocx controls
- Next by Date: [Javascript] Re: Problem with IE downloading using top.location
- Previous by thread: [Javascript] show-hide layers in NN 6
- Next by thread: [Javascript] (no subject)
- Index(es):