TextBox Message Rotates

[Total: 0    Average: 0/5]

This rotates your message inside a form text box.

Body Code:

<script language="JavaScript">
<!-- begin
var id,pause=0,position=0;
function edoscroller() {
        // variables declaration
        var i,k,msg="           Hello, everybody...            Write here smth";
        // increase msg
        for(i=0;i<=k;i++) msg+=" "+msg;
        // show it to the window
        // set new position
        if(position++==100) position=0;
        // repeat at entered speed
        id=setTimeout("edoscroller()",100); }
// end -->
<form name="form">
<input type="text" name="edoscroller" size=20 value="">

Times Viewed: 0

Leave a Reply

Your email address will not be published. Required fields are marked *