📄 land.html
字号:
<html>
<head>
<style type=text/css>
.mode2{
font-size:9pt;
line-height:18px;
color:#FF1A1A
}
.mode3{
font-size:10pt;
color:#000000
}
.mode4{
font-size:10pt;
color:#8A8A8A
}
.innerid{font-size:12px;color:#0000cd;}
</style>
<script language="javascript">
function uf()
{
document.all.un.innerHTML="用户名必须在4-12位之间,且只能由小写英文字母、数字组合,不包括空格";
}
function ub()
{
document.all.un.innerHTML="";
}
function pf1()
{
document.all.pw1.innerHTML="密码长度在4—8个字符或数字之间。密码的组成元素只能是英文字母、数字";
}
function pb1()
{
document.all.pw1.innerHTML="";
}
function pf2()
{
document.all.pw2.innerHTML="确认密码长度也必须在4—8个字符或数字之间。密码的组成元素只能是英文字母、数字";
}
function pb2()
{
document.all.pw2.innerHTML="";
}
function qqf()
{
document.all.qq1.innerHTML="QQ号码必须由数字组成,且长度必须在5-9位之间";
}
function qqb()
{
document.all.qq1.innerHTML="";
}
</script>
<script language="javascript">
function temp()
{
if(document.form1.username.value=="")
{
window.alert("用户名不能为空!");
document.form1.username.focus();
return false;
}
if(document.form1.username.value.length<4 || document.form1.username.value.length>12)
{
window.alert("用户名长度必须在4-12位之间!");
document.form1.username.value="";
document.form1.username.focus();
return false;
}
if(document.form1.password1.value.length<4 || document.form1.password1.value.length>8)
{
window.alert("密码长度必须在4-8位之间!");
document.form1.password1.value="";
document.form1.password1.focus();
return false;
}
if(document.form1.password2.value.length<4 || document.form1.password2.value.length>8)
{
window.alert("确认密码长度必须在4-8位之间!");
document.form1.password2.value="";
document.form1.password2.focus();
return false;
}
if(document.form1.password1.value != document.form1.password2.value)
{
window.alert("密码与确认密码不一致,请重新输入!");
document.form1.password1.value="";
document.form1.password2.value="";
document.form1.password1.focus();
return false;
}
if(document.form1.qq.value.length<4 || document.form1.qq.value.length>9)
{
window.alert("确认密码长度必须在4-9位之间!");
document.form1.qq.value="";
document.form1.qq.focus();
return false;
}
}
</script>
</head>
<body background="images/chat.gif">
<table border="0"width="100%" height="100" cellspacing="0" cellpadding="0"><!--1-->
<tr><!--1.1-->
<td rowspan="2" width="350"><!--1.1.1-->
<table border="0" width="400"><!--2-->
<tr>
<td>
<table border="0" height="5" width="300">
<tr>
<td><img src="images/girl.gif" width=53 height=43></td>
<td style="font-size:11pt;color:#880044;">聊天室使用说明:</td>
</tr>
<tr>
<td class="mode3"><pre> 1.</pre></td>
<td class="mode2">您登陆以后,系统会自动将您列入在线人数范围以内;退出时,系统又会自动将您从在线人 数范围内删除;</td>
</tr>
<tr>
<td class="mode3"><pre> 2.</pre></td>
<td class="mode2">您输入的用户名不得超过十二位,密码最多不得超过八位,且不得包含html标识,小数点, 及特殊字符;</td>
</tr>
<tr>
<td class="mode3"><pre> 3.</pre></td>
<td class="mode2">此程序仅供千人工程STWH05038项目部内部使用,不得外泄!</td>
</tr>
</table>
</td>
</tr>
<tr><!--2.2-->
<td height="200"><p> </p></td>
</tr>
<tr><!--2.3-->
<td>
<div align="center">
<img src="images/letter1.gif"
height="30"width="30"> <span style="font-size=11pt;color=#880044;">联系我们</span><br>
<span style="font-size:9pt;color=#880044"> 学校在址:武昌区曙光村千人工程</span>
<br><span style="font-size:9pt;color=#880044">项 目 部: STWH05038项目部 </span>
<br><span style="font-size:9pt;color=#880044">联 系 人: 谭 玉 珍</span>
<br><span style="font-size:9pt;color=#880044">联系方式: 13476841525</span>
</div>
</td>
</tr>
</table>
</td><!--1.1.1完-->
<td width="400" height="10" align="top"><!--1.1.2-->
<table border="0">
<tr>
<td width="250">
<img src="images/free.gif" width="150" height="45"></td>
<td><a href="check.html"><font size="3">聊天室公约</a></td>
</tr>
</table>
</td>
</tr>
<tr><!--1.2-->
<td><!--1.2.1-->
<table border="0" width="600">
<tr>
<td><img src="images/girl.gif" width=53 height=43>
<img height=47 src="images/qinxi.gif" width=119></td>
</tr>
<tr>
<td>
<form name="form1" method="post" action="">
<table border="0">
<tr>
<td class="mode4" width="260">
<div align=left>用 户 名:
<input type="text" name="username" maxlength="12" onfocus=uf() onblur=ub() ></div></td>
<td><div id="un" class=innerid></div></td>
<tr>
<tr>
<td class="mode4" width="260">
<div align="left">密 码:
<input type="text" name="password1" maxlength="8" onfocus=pf1() onblur=pb1()></div></td>
<td><div id="pw1" class=innerid></div></td>
</tr>
<tr>
<td class="mode4" width="260">
<div align="left">确认密码:
<input type="text" name="password2" maxlength="8"onfocus=pf2() onblur=pb2()></div></td>
<td><div id="pw2" class=innerid></div></td>
</tr>
<tr>
<td class="mode4" width="260">
<div align="left">QQ 号码:
<input type="text" name="qq" maxlength="10" onfocus=qqf() onblur=qqb() onkeypress="javascript:if((event.keyCode<48)||(event.keyCode >57)){event.returnValue = false;}"></div></td>
<td><div id="qq1" class=innerid></div></td>
</tr>
<tr>
<td class="mode4">性 别:
<select name="sex">
<option value="girl" selected>女生</option>
<option value="boy">男生</option>
</select></td>
<td rowspan="2">
<input type="button" name="enter" value="进 入" style="background-color:#FFD862" onclick="javacript:temp()">
</td>
</tr>
<tr>
<td class="mode4">刷 新:
<select name="refresh">
<option value="1" selected>1 秒</option>
<option value="2" selected>2 秒</option>
<option value="3" selected>3 秒</option>
<option value="4" selected>4 秒</option>
<option value="5" selected>5 秒</option>
</select></td>
</tr>
</table>
</form>
</td>
</tr>
</table>
</td><!--1.2.1完-->
</tr><!--1.2完-->
</table>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -