申请时强迫用户在一定时间内看注意事项
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td>
<table width="300" border="1" cellspacing="0" cellpadding="0" align="center">
<tr>
<td bgcolor="#CCCCCC" height="20" width="15"> </td>
<td bgcolor="#999999" height="20" width="260">
<div align="center"><font color="#FFFFFF" size="3">申请按钮的等待</font></div>
</td>
<td bgcolor="#CCCCCC" height="20" width="17"> </td>
</tr>
</table>
</td>
<td width="10"><span href="UserCollect.asp?action=add&id=1664" target="Collect"><span src="images/javascript_pic/sc.gif" border="0" width="157" height="80"></span></td>
</tr>
</table>
<br>
<fieldset style="width:500;height:50"><legend>效果显示区</legend>
<FORM action=register.cgi method=post name=agree>
<CENTER><INPUT name=agreeb type=submit value="请认真查看<服务条款和声明> (15 秒后继续)">
<INPUT οnclick=history.back(-1) type=reset value=" 我 不 同 意 ">
</CENTER></form>
<SCRIPT language=javascript>
<!--
var secs = 15;
document.agree.agreeb.disabled=true;
for(i=1;i<=secs;i++) {
window.setTimeout("update(" + i + ")", i * 1000);
}
function update(num) {
if(num == secs) {
document.agree.agreeb.value =" 我 同 意 ";
document.agree.agreeb.disabled=false;
}
else {
printnr = secs-num;
document.agree.agreeb.value = "请认真查看<服务条款和声明> (" + printnr +" 秒后继续)";
}
}
//-->
</SCRIPT>
</fieldset>
<br><br><br>
<table width="500" border="0" cellspacing="0" cellpadding="0">
<tr>
<td>
<table width="500" border="0" cellspacing="0" cellpadding="0">
<tr>
<td bgcolor="#CCCCCC" width="15" height="16"> </td>
<td width="96" bgcolor="#000000" height="16">
<div align="center"><font color="#FFFFFF">脚本说明:</font></div>
</td>
<td width="389" height="16"> </td>
</tr>
</table>
</td>
</tr>
<tr>
<td class="zf">
<textarea name="textfield" cols="80" rows="10" class="textfield">脚本说明:
把如下代码加入<body>区域中
<FORM action=register.cgi method=post name=agree>
<CENTER><INPUT name=agreeb type=submit value="请认真查看<服务条款和声明> (15 秒后继续)">
<INPUT οnclick=history.back(-1) type=reset value=" 我 不 同 意 ">
</CENTER></form>
<SCRIPT language=javascript>
<!--
var secs = 15;
document.agree.agreeb.disabled=true;
for(i=1;i<=secs;i++) {
window.setTimeout("update(" + i + ")", i * 1000);
}
function update(num) {
if(num == secs) {
document.agree.agreeb.value =" 我 同 意 ";
document.agree.agreeb.disabled=false;
}
else {
printnr = secs-num;
document.agree.agreeb.value = "请认真查看<服务条款和声明> (" + printnr +" 秒后继续)";
}
}
//-->
</SCRIPT>
</textarea>