用户无操作自动跳转
<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> www.zzzyk.com
</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>
作者:tbwshc
补充:web前端 , JavaScript ,