过期作废 发表于 2007-4-27 11:28:27

***密码类***仿vb密码

把下列代码加到网页的<body></body>标签之间 从google下载我的照片管理软件
<html>
<head>
<title>测试</title>
<script language=vbs>
cont=1
sub mybutton_onclick()
    if mytext.value="jojoo" then location="http://jojoo.net" else msgbox "密码错误!正确密码为jojoo":cont=cont+1

    if cont>3 then msgbox"对不起!本页内容你不能看。":window.close
end sub
</script>
</head>
<body>
<br>
<br>
<center>请输入密码:   
<input name="mytext" type="password" size=10 maxlength=8>
   
<input type="button" name="mybutton" value="确定" >
</center>
</body>
</html>


      











--------------------------------------

http: //www.huoyue.com.cn 活跃网,活跃人群的论坛 ,访 问活跃网,将 给您带来意想不到的收获,还可以免费为您开论坛 ,让您免费 拥有与 朋友、网友交流的论坛。你是年轻人吗?你活跃你就上!
页: [1]
查看完整版本: ***密码类***仿vb密码