最新状态栏的打字效果_JS特效代码
以下是为大家整理的最新的文章,希望大家能够喜欢!
<script language="JavaScript"> var msg = "状态栏的打字效果 " ;var interval = 120var spacelen = 120;var space10=" ";var seq=0;function Scroll() { len = msg.length;window.status = msg.substring(0, seq+1);seq++;if ( seq >= len ) { seq = 0; window.status = '';window.setTimeout("Scroll();", interval );}elsewindow.setTimeout("Scroll();", interval );} Scroll();</script> |
转载来自:http://www.q3060.com/list3/list115/325.html