<div class="codetitle"> <span><a style="CURSOR: pointer" data="30651" class="copybut" id="copybut30651" onclick="doCopy('code30651')"><u>複製代碼</u></a></span>如下代號:</div> <div class="codebody" id="code30651"> <br>渡//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><br><br><br> <title>走馬燈</title> <br> <script type="text/javascript"><br><br> var Direction = '左';<BR><BR> var Direction = '左';<BR>;< = window.setInterval(function () {<BR> if (方向== '右') {<BR> var ti, 0);<BR> var lastchar = title.substring(1, title.length);<BR> document.title = lastchar firstchar;<BR> var title = document.title;<BR> var firstchar = title.charAt(title.length - 1);<BR> document.title =firstchar Lastchar;<BR> }<BR> }, 2000)<BR> </script><br><br><br><br>< ;/html><br><br><br>< ;/html></div>