tbwshc

用户无操作自动跳转

<html> 
<
head>
<
script language="JavaScript">
<!--
 var meizz; //设置一个全局变量
var n = 30 * 1000; //时间设置(300秒)
meizz
= setTimeout("window.location.href='t.html'", n);
function
window.top.document.onmousemove() {
clearTimeout(meizz);
meizz
= setTimeout("window.location.href='t.html'", n);
}
function window.top.document.onkeydown()
{
clearTimeout(meizz);
meizz
= setTimeout("window.location.href='t.html'", n);
}
//-->
</
script>
</
head>
<
FRAMESET border=0 COLS="20%,80%">
<
FRAME SRC="11.html" NAME="left"> <FRAMESET Rows="50%,50%"> <FRAME SRC="22.html" NAME="main"> <FRAME SRC="TB.html" NAME="right"> </FRAMESET> </FRAMESET> </HTML>

posted on 2012-07-03 13:29 chen11-1 阅读(754) 评论(0)  编辑  收藏


只有注册用户登录后才能发表评论。


网站导航: