倒计时载入页面

清华大佬耗费三个月吐血整理的几百G的资源,免费分享!....>>>

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="refresh" content="10;url=http://www.baidu.com">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<script type="text/javascript">
	startday=new Date();
	clockStart=startday.getTime();
	function initWatch(){
		var myTime=new Date();
		var timeNow=myTime.getTime();
		var timeDiff=timeNow-clockStart
		this.diffSecs=timeDiff/1000;
		return (this.diffSecs);
	}
	function getSecs(){
		var mySecs=initWatch();
		var mySecs1=""+mySecs;
		mySecs1=10-eval(mySecs1.substring(0,mySecs1.indexOf(".")))+"秒";
		document.form1.timespent.value=mySecs1;
		window.setTimeout('getSecs()',1000);
	}
	//利用meta加载页面 content设置载入时间 url为载入页面的URL地址
	//并计算载入时间
</script>
<title>倒计时载入页面</title>
</head>
<body onload="window.setTimeout('getSecs()',1)">
<center>
	10秒后加载页面:
	<form name="form1">
		<input size=9 name='timespent'>
	</from>
</center>	
</body>
</html>