首页 > 设计 > WEB开发 > 正文

meta实现页面加载完毕几秒后跳转至指定URL

2019-11-02 18:20:11
字体:
来源:转载
供稿:网友

<meta http-equiv="refresh" content="0;url=http://blog.csdn.net/liuyingshuai_blog" name="" content="" />

content值表示经过几秒后跳转。

以下三个location方法也都是可以的window.location.href = 'http://blog.csdn.net/liuyingshuai_blog';location.assign("http://blog.csdn.net/liuyingshuai_blog");window.location.replace('http://blog.csdn.net/liuyingshuai_blog');


发表评论 共有条评论
用户名: 密码:
验证码: 匿名发表