星空网 > 软件开发 > 网页设计

javascript实现网页定时跳转代码

setTimeout(function() {
window.location.href='你要跳转到的页面的地址';
}, 时间以秒为单位);

例如:

setTimeout(function() {
window.location.href='http://www.bt720p.com';
}, 100);

100秒后跳转到www.bt720p.com




原标题:javascript实现网页定时跳转代码

关键词:JavaScript

*特别声明:以上内容来自于网络收集,著作权属原作者所有,如有侵权,请联系我们: admin#shaoqun.com (#换成@)。

德国fba空运:https://www.goluckyvip.com/tag/30043.html
德国fba空运专线:https://www.goluckyvip.com/tag/30044.html
德国fba派送:https://www.goluckyvip.com/tag/30045.html
德国fba配送费:https://www.goluckyvip.com/tag/30046.html
德国fba入仓:https://www.goluckyvip.com/tag/30047.html
德国fba双清:https://www.goluckyvip.com/tag/30048.html
深圳到西安自驾路线攻略 深圳到西安自驾最佳路线:https://www.vstour.cn/a/411228.html
松花蛋是哪里的特产松花蛋的产地:https://www.vstour.cn/a/411229.html
相关文章
我的浏览记录
最新相关资讯
海外公司注册 | 跨境电商服务平台 | 深圳旅行社 | 东南亚物流