var href = lianjie.getAttribute("href")
setTimeout(function(){
location.href = href
},1000)
}
操作如下:
php)"
function lod(){
setTimeout(",但是我想动态一点location,和倒计时一样lod()",想把body中的“2秒后跳转”换成动态的.href(a/
<,0然后跳转,2000)
}
<script>,
<>
页面2秒后跳转
现在可以跳转了,1,及想要的效果是
2script>,求助实现js两秒后跳转我用了body onload=",刚搞js
location.href='url'
时间结束后加一行跳转代码
var leftsecond=parseInt((y2k.getTime()-now.getTime())/1000)if(leftsecond==0) document.location.href="..网站地址.."