|
This is a static layer, NN does not accept attribute color-Syntax [into : ... style="... color=#112233; ..." ]
Tested version for : Netscape Navigator 4.5 & 6.0 & MSIE 6.0
For home Scripts ... @
www.scriptsearch.com
|
Layers presentation to the Visitor This layer appears only when window is loaded or reloaded. Questo layer compare quando la pagina viene caricata nel browser e ad ogni aggiornamento. |
| hide layer | show layer | English | Italian |
|
Suggestions : This is a script where a particular attention is paid to get a Crossbrowsers ' output , this is achieved by bearing in mind the properties recognized by each browser and its required Syntax ! We suggest , in the normal web usability contest , to use the Script hereafter layoutted , as is much easier to customize into the desired format & need and there is the sole requirement to use double quote with escape backslash into VAR-variable . ( Copy & Paste the Layer-Table Completely ) <script language javascript> <!-- VAR="<table width=567 ... \" </table>"; document.write(VAR); //--> </script> | <script language=JavaScript> <!-- function show_hide(value) {if (value==0){if(ns6){over = document.getElementById(['layer4']); range = document.createRange(); range.setStartBefore(over); domfrag = range.createContextualFragment(''); while (over.hasChildNodes()) {over.removeChild(over.lastChild);} over.appendChild(domfrag);} if (document.layers){document.layers["layer4"].visibility='hide'} else{document.all["layer4"].style.visibility='hidden' }} else if (value==1){if(ns6){over = document.getElementById(['layer4']); range = document.createRange(); range.setStartBefore(over); domfrag = range.createContextualFragment(VAR); while (over.hasChildNodes()) {over.removeChild(over.lastChild);} over.appendChild(domfrag);} if (document.layers){ document.layers["layer4"].visibility='show'} else{document.all["layer4"].style.visibility='visible';}}} //--> </script> |