有什么问题请到<a href='/bbs/forums.php?fid=21'>论坛</a>中发表<br>
<!-- http://www.webjx.com/ -->
<!-- http://bbs.webjx.com/ -->
<!--要完成此效果需要两个步骤
第一步:把如下代码加入到<head>区域中-->
<head>
<SCRIPT LANGUAGE="JavaScript">
<!-- Begin
timeID = 5;
stcnt = 11;
msg = "** Welcome To webjx.net! **";
wmsg = new Array(33);
wmsg[0] = msg;
blnk = " ";
for (i = 1; i < 32; i++) {
b = blnk.substring(0, i);
wmsg[i] = "";
for (j = 0; j < msg.length; j++) wmsg[i] = wmsg[i] + msg.charAt(j) + b;
}
function wiper() {
if (stcnt > -1) str = wmsg[stcnt];
else str = wmsg[0];
if (stcnt-- < -40) stcnt = 31;
status = str;
clearTimeout(timeID);
timeID = setTimeout("wiper()", 150);
}
// End -->
</script>
<!--第二步:把“OnLoad="wiper()"”加在<body>标记里 -->
<body OnLoad="wiper()">
[Ctrl+A 全部选择 提示:你可先修改部分代码,再按运行]