Time limit script

Source: Internet
Author: User
Tip: you can modify some code before running

<html><head><title>Time limit script</title><style type="text/css"><!--body { font-family: "宋体"; font-size: 9pt; margin-top: 0px; margin-left: 0px; margin-right: 0px}A { COLOR: black; FONT-SIZE: 9pt; FONT-WEIGHT: 400; TEXT-DECORATION: none } A:hover { COLOR: red; FONT-SIZE: 9pt; FONT-WEIGHT: 400; TEXT-DECORATION: underline }a:active { font: 9pt "宋体"; cursor: hand; color: #FF0033 }--></style><meta http-equiv="Content-Type" content="text/html; charset=gb2312"></head><body onload="begintimer()"><br><br><center><font face="隶书" size=6>Access time limit script</font></center><br><SCRIPT language="JavaScript"><!--var limit="0:9"if (document.images){var parselimit=limit.split(":")parselimit=parselimit[0]*10+parselimit[1]*1}function begintimer(){if (!document.images)returnif (parselimit==1)//下面是限制时间到了后去的连接页面,自己修改。window.location="integration.htm"else{ parselimit-=1curmin=Math.floor(parselimit/10)cursec=parselimitif (curmin!=0)curtime="你只有"+curmin+"分"+cursec+"秒的时间保存此页。"elsecurtime="你只有"+cursec+"秒的时间访问此页。"setTimeout("begintimer()",1000)//下一句告诉访问者剩余的时间,在文本框中显示,不想要去掉即可。document.lefttime.left.value=curtime//下一句告诉访问者剩余的时间,在状态栏中显示。window.status=curtime}}//--></sCRIPT><br><center><table border=0 bordercolor=#111111 borderlight=green cellpadding="0" cellspacing="0"><tr><td align=center><font > <strong >The script display area is shown below!</strong></font></td></tr><tr><td align=center><form name="lefttime"><p><input type="text" name="left" size="25"></p></form></td></tr></table></center><br><br></body></html>
Tip: you can modify some code before running

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.