发信人: zyppo()
整理人: tedz(2000-10-10 11:29:08), 站内信件
|
把下面的程序加入你的网页<!--滚动状态栏的代码开始-->
<SCRIPT LANGUAGE="javascript">
function wh_showStatus(){
if (wh_StatusType == "left") {
wh_StatusText = " " + wh_StatusText;
}
else
if (wh_StatusType == "right") {
wh_StatusText = wh_StatusText.substring(1,wh_StatusText.length);
}
if (wh_StatusText == "" || wh_StatusText.length > 80) {
wh_StatusText = "编辑此处文字";
if (wh_StatusType == "right") {
while (wh_StatusText.length < 80) wh_StatusText = " " + wh_Statu sText;
}
}
status = wh_StatusText;
setTimeout("wh_showStatus()",wh_StatusSpeed);
}
wh_StatusText = "编辑此处文字";
wh_StatusSpeed = 800;
wh_StatusType = "right";
if (wh_StatusType == "right") {
while (wh_StatusText.length < 80) wh_StatusText = " " + wh_StatusTex t;
}
setTimeout("wh_showStatus()",wh_StatusSpeed);
</SCRIPT>
<!--滚动状态栏的代码结束-->
-- allen
※ 来源:.月光软件站 http://www.moon-soft.com.[FROM: 202.102.248.106]
|
|