通过javascript中实现跳转
// 直接跳转
window.location.href='index.html';
// 定时跳转
setTimeout("javascript:location.href='index.html'", 5000);
JS网页跳转
2021年01月22日 66阅读 15 字 0 条评论
通过javascript中实现跳转
// 直接跳转
window.location.href='index.html';
// 定时跳转
setTimeout("javascript:location.href='index.html'", 5000);