Bottom scroll

Have you ever wanted to add scrolling text to the bottom left bar in the browser window? Here's how you do it.

 

<script language="JavaScript">
<!-- 
var scrtxt="Thanks for visiting Internet Tips And Secrets. Please 
be sure to sign our guestbook.";
var lentxt=scrtxt.length;
var width=100;
var pos=1-width;

function scroll() {
  pos++;
  var scroller="";
  if (pos==lentxt) {
    pos=1-width;
  }
  if (pos<0) {
    for (var i=1; i<=Math.abs(pos); i++) {
      scroller=scroller+" ";}
    scroller=scroller+scrtxt.substring(0,width-i+1);
  }
  else {
    scroller=scroller+scrtxt.substring(pos,width+pos);
  }
  window.status = scroller;
  setTimeout("scroll()",150);
  }
-->
</script>
</head>

<BODY BGCOLOR=#000000 TEXT=#00DD00 onLoad="scroll();return true;">