图片自动下一页 setInterval使用

XML/HTML代码
  1. <script>  
  2. function auto_next_pic(){   
  3.         location="/<?=$ch?>/<?=$next_id?>.html";   
  4.         //window.open(location,"_self");   
  5.         //alert(location);   
  6. }   
  7.   
  8.     setInterval(auto_next_pic,12000);   
  9. </script>  

« 上一篇 | 下一篇 »

发表评论

评论内容 (必填):