Js+div Hide Display Layer code
<script language=javascript>
function Toexit () {<!--The operation of the hidden layer-->
var args=toexit.arguments;<!--Get the input value of the function-->
The first input value of the Var visible=args[0];<!--function-->
if (document.all) {<!--for IE browser-->
if (visible== ' show ') visible= ' visible ';<!--set hidden layer display-->
if (visible== ' hide ') visible= ' hidden ';<!--set hidden layer disappears-->
Theobj=eval ("document.all['" +args[1]+ "]");
if (theobj) theobj.style.visibility=visible;<!--perform the above actions-->
}
}
</script>
<div id=div32
Style= "height:80px; left:10px; Position:absolute; top:10px; Visibility:hidden; width:180px; Z-index:1 ">
<table bgcolor= #FF9900 border=1 cellpadding=0 cellspacing=0 height=80
Width=180> <tbody>
<tr>
<TD height=65 width= "100%" >
<table border=0 cellpadding=0 cellspacing=0 height=80 width= "99%" >
<tbody>
<tr>
<TD height=57> <font
Color= #ffffff > Welcome to the JavaScript world! Here you have unexpected wonderful effects! <b></b></font></td>
</tr>
<TR align= "center" >
<TD height=23 width= "100%" ><a
href= "Javascript:toexit (' hide ', ' div32 ')" ><font color=white> close this layer </font></a></td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</div>
<a href= "Javascript:toexit (' Show ', ' div32 ')" ><font color= "#FF9900" > Open hidden Layer </font></a>
<body>
</body>
<!--This routine practice to open the active hidden layer operation-->
<!--understand the formation mechanism of hidden layer-->
<!--to open and close the hidden layer of the artificial realization-->
< call to!--function-->