Place this in the HEAD of your page: |
---|
<script language="JavaScript"> <!-- var id,pause=0,position=0;function banner(){ var i,k,msg=document.info.message.value; k=(66/msg.length)+1; for(i=0;i<=k;i++)msg+=" "+msg; document.info.banner.value=msg.substring(position,position+90); if(position++==document.info.message.value.length) position=0; id=setTimeout("banner()",200); } // --> </script> |
The "onLoad="banner()" must be placed with the text- and links-colors like this: |
---|
<body bgcolor="#000000" text="#FF0000" onLoad="banner()> |
Place this in the BODY of your page: |
---|
<!--Textbanner--> <table border="4" bgcolor="#c0c0c0" cellspacing="1" width="320" height="50"> <caption align="bottom"><h4>Scroller</h4></caption> <tr bgcolor="#c0c0c0" align="center"> <td><form name="info"> <input type="hidden" name="message" value=' You text here .... '> <input type="text" name="banner" size="40"></td> </form> </td> </tr> </table> |