The Scrolling Marquee

(a dynamically updated text box displaying user messages.)

The source code below should be cut and pasted into the 'head' of the HTML page.

The Source:
<script language="JavaScript"> var id,pause=0,position=0; function banner() { var i,k,msg=document.form1.message.value; k=(66/msg.length)+1; for(i=0;i<=k;i++) msg+=" "+msg; document.form1.banner.value=msg.substring(position,position+70); if(position++==document.form1.message.value.length) position=0; id=setTimeout("banner()",200); } </script>

The form below contains the hidden field with the actual message, followed by the text box where it will be displayed. A clever fellow might create a CGI script in Perl to update or change the message without having to hack the HTML code.

The Source:
<form name="form1"> <input type="hidden" name="message" value='who would of know there where real people on computers?'> <input type="text" name="banner" size="40"> </form>