PHP子窗体如何实现

来源:百度知道 编辑:UC知道 时间:2024/09/23 10:16:34
就象远景的注册那样
请教高人
最好能加注释
分可以追加...

你说的是这个效果吧
<style>
#main{
background-color : green ;
width : 800px ;
height : 600px ;
z-index : 1 ;}
#login{
display : none ;
position : absolute ;
left : 200px ;
top : 200px ;
background-color : #fff ;
width : 200px ;
height : 200px ;
z-index : 3 ;}
#shadow{
display : none ;
position : absolute;
left : 0px ;
top : 0px ;
background-color : #000 ;
width : 800px ;
height : 600px ;
z-index : 2 ;
filter:alpha(opacity=60);
-moz-opacity:.60;
opacity:0.6
}
</style>
<body>
<div id="main">
<input type="button" onclick="show();" value="显示">
</div>
<div id="login">
<input type="button" onclick="notshow();" value="隐藏">
</div>
<div id="shad