Status Bar (status) Effects
<P> <SCRIPT language = JavaScript> <! -- <! -- Var speed = 100 var pause = 1000 var timerID = null var bannerRunning = false var ar = new Array () ar [0] = "rigorous, realistic, pioneering, and innovative" ar [1] = "Professional and enthusiastic" </P> <P> var currentMessage = 0 var offset = 0 function stopBanner () {if (bannerRunning) clearTimeout (timerID) bannerRunning = false} function startBanner () {stopBanner () showBanner ()} function showBanner () {var text = ar [currentMessage] if (offset <text. length) {if (text. charAt (offset) = "") offset ++ var partialMessage = text. substring (0, offset + 1) window. status = partialMessage offset ++ timerID = setTimeout ("showBanner ()", speed) bannerRunning = true} else {offset = 0 currentMessage + + if (currentMessage = ar. length) currentMessage = 0 timerID = setTimeout ("showBanner ()", pause) bannerRunning = true} startBanner (); // --> SCRIPT </P>
[Ctrl + A select all Note: If you need to introduce external Js, You need to refresh it to execute]