Español
<!--要完成此效果把如下代码加入到<head>区域中--> <SCRIPT LANGUAGE="javascript"> function wh_showStatus(){ if (wh_StatusType == "izquierda") { wh_StatusText = " " + wh_StatusText ; } else if (wh_StatusType == "derecho") { wh_StatusText = wh_StatusText.substring(1,wh_StatusText.length); } if (wh_StatusText == "" || wh_StatusText.length > 80) { wh_StatusText = "Bienvenido a JavaScript Fairyland"; if (wh_StatusType == "derecho") { mientras (wh_StatusText.length < 80) wh_StatusText = " " + wh_StatusText; } } estado = wh_StatusText; setTimeout("wh_showStatus()",wh_StatusSpeed); } wh_StatusText = "欢迎光临 建站学院"; wh_StatusSpeed = 1000; wh_StatusType = "izquierda"; if (wh_StatusType == "derecho") { mientras (wh_StatusText.length < 80) wh_StatusText = " " + wh_StatusText; } setTimeout("wh_showStatus()",wh_StatusSpeed); </SCRIPT>