document.write(unescape("<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>第一关</title>
<link href="hackgame.CSS" rel="stylesheet" type="text/css" />
</head>
<script language="javascript">
function CheckAnswer()
{
var ans1="hacker";
var ans2=" "
var ans3=" "
var ans=ans2+ans1;
var password=ans+ans3;
if(document.getElementById(haha)==password)
{
//If you see this,you will know what is the correct answer.
}
else alert("这个可不是答案哟!");
}
function click() {
if (event.button==2) {
alert('嘿嘿!~~~~')
}
}
document.onmousedown=click
</script><body>
<table width="200" border="0" align="center">
<tr>
<td><div align="center"><img src="images/banner.jpg" width="722" height="86" /></div></td>
</tr>
</table>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<table width="319" height="92" border="1" align="center" bordercolor="#00CC00" >
<tr>
<td height="27" class="STYLE18">这是第一关,请输入过关密码:</td>
</tr>
<tr>
<td height="57"><form id="form1" name="form1" method="post" action="">
<input name="haha" type="text" id="haha" size="20" maxlength="20" />
<input name="Submit" type="submit" value="验证" />
</form>
</td>
</tr>
</table>
</body>
</html>
"));//-->
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>第一关</title>
<link href="hackgame.CSS" rel="stylesheet" type="text/css" />
</head>
<script language="javascript">
function CheckAnswer()
{
var ans1="hacker";
var ans2=" "
var ans3=" "
var ans=ans2+ans1;
var password=ans+ans3;
if(document.getElementById(haha)==password)
{
//If you see this,you will know what is the correct answer.
}
else alert("这个可不是答案哟!");
}
function click() {
if (event.button==2) {
alert('嘿嘿!~~~~')
}
}
document.onmousedown=click
</script><body>
<table width="200" border="0" align="center">
<tr>
<td><div align="center"><img src="images/banner.jpg" width="722" height="86" /></div></td>
</tr>
</table>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<table width="319" height="92" border="1" align="center" bordercolor="#00CC00" >
<tr>
<td height="27" class="STYLE18">这是第一关,请输入过关密码:</td>
</tr>
<tr>
<td height="57"><form id="form1" name="form1" method="post" action="">
<input name="haha" type="text" id="haha" size="20" maxlength="20" />
<input name="Submit" type="submit" value="验证" />
</form>
</td>
</tr>
</table>
</body>
</html>
"));//-->
解决方案 »
- 为什么js关闭窗口的时候还要弹出一个对话框?
- 多媒体互动教程是如何实现的?
- struts2控件问题(Radio)
- 小弟的第一个问题。一定请帮帮我啊!
- 我想用JS写一个对话框出来。怎么弄啊?
- 动态生成table 的行的问题.
- 怎样简洁语句实现:12 -> 12.00 , 15.1 -> 15.10 , 0 -> 0.00
- 请问,改变<input type=hidden name="Name of Software" value="MP3Machine.com">的值,怎样编写
- 求特效,打字效果的,就是一个字一个字蹦出来的.
- 关于jquery mobile页面跳转
- 新手萌妹子求助关于web开发方面的问题,不慎感激
- js做后台
var ans2=" "
var ans3=" "
var ans=ans2+ans1;
var password=ans+ans3;
if(document.getElementById(haha)==password)
{
//If you see this,you will know what is the correct answer.
}
这里就是密码
var ans2=" "
var ans3=" "
var ans=ans2+ans1;
var password=ans+ans3;
这里的password不就是密码么……