方法一:
在
之间加入js 代码如下:
var secs = 3; //倒计时的秒数
var URL ;
function Load(url){
URL = url;
for(var i=secs;i>=0;i--)
{
window.setTimeout('doUpdate(' + i + ')', (secs-i) * 1000);
}
}
function doUpdate(num)
{
document.getElementById('ShowDiv').innerHTML = '将在'+num+'秒后自动跳转到主页' ;
if(num == 0) { window.location = URL; }
}
script>
然后在
里面加上 index.asp为自己要跳转的页面。在
之间加上方法二:
代码如下:
系统将在 5 秒钟后自动跳转至新网址,如果未能跳转,请点击。