弹出层时使弹出层的页面不能衩操作 似乎在这个js里:http://comment4.news.sina.com.cn/comment/cmnt_skin_v4.js有个show_reply函数。 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 to楼上。http://comment4.news.sina.com.cn/comment/cmnt_skin_v4.js这个文件中的函数我看不懂。全是用|隔开的函数名。那么这些函数的程序在什么地方呀?我怎么找不到呀? http://comment4.news.sina.com.cn/comment/skin/default.html?channel=gn&newsid=1-1-9925667&style=0我怎么找不到函数的定义在什么地方呀? 怎么全是顶的呀!用层屏蔽。http://community.csdn.net/Expert/topic/4347/4347665.xml?temp=.7378351 <html><head></head><body><p align="center"><script>function locking(){ document.all.ly.style.display="block"; document.all.ly.style.width=document.body.clientWidth; document.all.ly.style.height=document.body.clientHeight;document.all.Layer2.style.display='block';}function Lock_CheckForm(theForm){ if(theForm.P_USERPASS.value==''){alert("错误:请输入你的用户密码!");theForm.P_USERPASS.focus();return false;} if(theForm.P_USERPASS.value !='123'){alert("错误:密码错误!");theForm.P_USERPASS.value='';theForm.P_USERPASS.focus();return false;} else{document.all.ly.style.display='none';document.all.Layer2.style.display='none';} return false;}</script><img src="http://gg.blueidea.com/2006/chinaok/468x60.gif"></p><p align="center"><INPUT TYPE="button" value="系统锁定" onclick="locking()"></p><div id="ly" style="position:absolute;top:0px;FILTER: alpha(opacity=60);background-color:#777; z-index:2; left: 0px;display:none;"> </div><!-- 浮层框架开始 --> <div id="Layer2" align="center" style="position:absolute; z-index:3; width: 540; height:170px;left:expression((document.body.offsetWidth-540)/2); top: expression((document.body.offsetHeight-170)/2);background-color:#fff;display:none;" valign="center"> <form method="POST" action="" onsubmit="return Lock_CheckForm(this);"> <TABLE width=540 height=170 border=0 cellpadding=0 cellspacing=0 style="border:0 solid #e7e3e7;border-collapse: collapse"> <TR> <TD style="background-color:#73A2d6;color:#fff;padding-left:4px;padding-top:2px;font-weight:bold;font-size:14px;" height=27 valign="center">[ 警 告 ]</TD> </TR> <TR> <TD align="center" valign="center">请输入解除锁定密码<p><input type="text" name="P_USERPASS" size="20"></TD> </TR> <TR> <TD height=30 align="center"><INPUT type="submit" value=" 确 定 "></TD> </TR> </TABLE></form> </div> <!-- 浮层框架结束 --></body></html> window.open无法弹出固定位置窗口问题 mapeasy可以限定地图拖动边界吗? js如何读取指定cookies? 請教:document.URL和window.location.href區別 HTTPS下 数据岛载入XML失败,不知道为什么? IE8打印问题!!!! 如何判断一个javascript数组中有重复的项存在? 数据类型转化问题!?急急急 各位大虾,帮帮忙吧!谢谢了,急用!!!! 帮我看看这句script语句错在那里呀,老报undefined为空??? [提问]网易邮箱的背景变暗,弹出提示层的功能怎么实现的。高手一定要教我。 新人提出的简单问题!进来看看
用层屏蔽。
http://community.csdn.net/Expert/topic/4347/4347665.xml?temp=.7378351
<head>
</head>
<body>
<p align="center">
<script>
function locking(){
document.all.ly.style.display="block";
document.all.ly.style.width=document.body.clientWidth;
document.all.ly.style.height=document.body.clientHeight;
document.all.Layer2.style.display='block';
}
function Lock_CheckForm(theForm){
if(theForm.P_USERPASS.value==''){alert("错误:请输入你的用户密码!");theForm.P_USERPASS.focus();return false;}
if(theForm.P_USERPASS.value !='123'){alert("错误:密码错误!");theForm.P_USERPASS.value='';theForm.P_USERPASS.focus();return false;}
else{document.all.ly.style.display='none';document.all.Layer2.style.display='none';}
return false;
}
</script>
<img src="http://gg.blueidea.com/2006/chinaok/468x60.gif"></p>
<p align="center"><INPUT TYPE="button" value="系统锁定" onclick="locking()">
</p>
<div id="ly" style="position:absolute;top:0px;FILTER: alpha(opacity=60);background-color:#777; z-index:2; left: 0px;display:none;"> </div><!-- 浮层框架开始 -->
<div id="Layer2" align="center" style="position:absolute; z-index:3; width: 540; height:170px;left:expression((document.body.offsetWidth-540)/2); top: expression((document.body.offsetHeight-170)/2);background-color:#fff;display:none;" valign="center">
<form method="POST" action="" onsubmit="return Lock_CheckForm(this);">
<TABLE width=540 height=170 border=0 cellpadding=0 cellspacing=0 style="border:0 solid #e7e3e7;border-collapse: collapse">
<TR>
<TD style="background-color:#73A2d6;color:#fff;padding-left:4px;padding-top:2px;font-weight:bold;font-size:14px;" height=27 valign="center">[ 警 告 ]</TD>
</TR>
<TR>
<TD align="center" valign="center">请输入解除锁定密码<p><input type="text" name="P_USERPASS" size="20"></TD>
</TR>
<TR>
<TD height=30 align="center"><INPUT type="submit" value=" 确 定 "></TD>
</TR>
</TABLE>
</form>
</div>
<!-- 浮层框架结束 -->
</body>
</html>