[Php-it] [OT] Js+Css+SELECT+IE=sob!!!

Roberto Tagliaferri r.tagliaferri at tosnet.it
Tue Jul 25 17:44:54 CEST 2006


Cristiano Verondini ha scritto:
>
>     Questo è il suggerimento corretto, non si riassegnano le stringhe 
> di proprietà!
>
>         Cris
>
>
>
A suo tempo avevo trovato questo (va bene con NN, mozilla vari, IE e opera)
function nascondi_finestrella() {
    if (document.all) {
        document.all["finestrella"].style.visibility = "hidden";
        /* IE*/
    } else {
        if (document.layers) { //NN4
            document.layers["finestrella"].visibility = "hide";
        } else {
            if (document.getElementById) { //NN6 ed Opera
                document.getElementById("finestrella").style.visibility 
= "hidden";
            }
        }
    }
}

-- 
Roberto Tagliaferri
Responsabile Progettazione & Produzione
TosNet s.r.l. - Internet Service Provider
r.tagliaferri at tosnet.it
www.tosnet.it



More information about the Php-it mailing list