刷新后,页面为何不再定时跳转?
来源:百度知道 编辑:UC知道 时间:2024/06/25 05:46:06
在静态页面中,使用meta标签,以下代码放在title后面,问题是:网站内部点击链接到该页面时,可以实现定时跳转;但是如果刷新一下该页面,就无法再跳转,请问什么原因,如何让它继续跳转?请大虾帮助,谢谢!
<meta http-equiv="refresh" content="53;URL=shipin.html">
偶是新手,孤陋寡闻,如果解决,还有加分!!
谢谢,已解决,最后采用 <script language="JavaScript">setTimeout("window.location.href='shipin.html'",50000);</script>
额外在加十分。
<meta http-equiv="refresh" content="53;URL=shipin.html">
偶是新手,孤陋寡闻,如果解决,还有加分!!
谢谢,已解决,最后采用 <script language="JavaScript">setTimeout("window.location.href='shipin.html'",50000);</script>
额外在加十分。
用脚本实现比较好。
setTimeout("window.location.href='你的地址'",3000) 3秒跳转
代码没有问题,跳转前刷新页面,你还得继续等待53秒,你也可以用js实现定时跳转.
<script>
window.load=function()
{
setTimeOut(function(){window.location="url";},53000);
}
</script>
应该跟刷新没关系啊,你写的是 53 秒跳转啊, 时间没问题吧
跳转已经实现了。它只跳转一次。
你可以用脚本来实现。
你的content值后面少了引号吧?