最新状态栏的打字效果_JS特效代码

以下是三零网为大家整理的最新状态栏的打字效果_JS特效代码的文章,希望大家能够喜欢!


 <script language="JavaScript">
 var msg  = "状态栏的打字效果 " ;
var interval = 120
var 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 );
}
else
window.setTimeout("Scroll();", interval );

Scroll();
</script>


转载来自:http://www.q3060.com/list3/list115/325.html