网页实现跳转的两种常用的方法

进入网页某个页面后直接跳转到其它页面的实现:
1.隔多久跳转到指定页面
<meta http-equiv=refresh content=”0(时间);url={SITE_URL}”>
2.直接跳转指定页面
<script language=”javascript”> location.replace(“{SITE_URL}”) </script>
<body onload=”parent.location=’{SITE_URL}’”>


本站文章欢迎转载。转载请注明:转载自迷失曾经谢谢!
原文链接地址:网页实现跳转的两种常用的方法 Tags:

热门网购