<span id="view"></span>
<script>var t=5setInterval("testTime()",3000); //啟動1秒定時function testTime() {if(t == 0) location = "<?=$gotourl?>";view.innerHTML = "<b>"+t+"</b>后自動跳轉至購買頁面"; // 顯示倒計時t--; // 計數器遞減}</script>
文章轉載請保留網址:http://waterplane.cn/news/solutions/992.html