?? hao.html
字號:
<html>
<head>
<meta http-equiv=content-type content="text/html; charset=GBK">
</head>
<script>
function click() {
if (event.button==2) {
alert("haohao");} }
document.onmousedown=click
</script>
<script language="javascript">
var lusername =location.search.split("=")[1];
if(!lusername){
lusername="小悶";
}
else{
lusername=unescape(lusername);
}
function check(obj){
if (obj.stra.value.length>8) {
alert('暈,咋中國還有這么長的名字啊?~');
return false;
}
if (obj.stra.value.length==0) {
alert('還沒填姓名呀');
return false;
}
}
</script>
<body>
<SCRIPT>
var b=document;var c=lusername;b.write(c);
</SCRIPT>
<form name="newinfo_form" id="newinfo_form" onSubmit="return check(this)">
<tr>
<td align="center" style="font-size:14px;"><strong><font color=red>在此輸入您或朋友的姓名:</font></strong>
<input name="stra" type="text" id="stra" tabindex="1" value="" size="16" style="width:100px;">
<input type="submit" value="點此提交"/>
</td>
</tr>
</form>
</body>
</html>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -