Click HERE to return to
Javascript main page

Java Script Examples

Scrolling Banner Example

                          This scrolling banner is simply a form text box with its values being changed, so it appears to scroll text. The text and the width of the banner can be changed and the function is called using

<SCRIPT Laguage = "JavaScript">
banner("msg",width)
</SCRIPT>

The script is simple to install and the only unusuall part is the
<BODY onunload="clearTimeout(bannerid)">
command which Clears the timer function used to regulate the scroller