我正在构建一个使用jQuery移动的移动网站,我想显示一个页面大约5秒,然后让它自动重新引导您到下一页。
我在互联网上看到了这段代码,但我认为它不适用于jQuery移动:
<META HTTP-EQUIV=Refresh CONTENT="10; URL=index.html/">任何帮助都将不胜感激!
发布于 2015-05-17 15:36:38
$(document).delegate('#registrationCon', 'pageinit', function() {
console.log("testing again!");
setTimeout("window.location.href='#homePage';", 7000);
}); 发布于 2015-03-09 04:53:24
我会这样做:
setInterval(function(){ //redirect function; }, 5000);https://stackoverflow.com/questions/28935402
复制相似问题