Ticker Tape


 
Insert this code into your head ( <head>Insert in between here</head> ) 

<script language="JavaScript">
<!-- Hide from old browsers
// Copyright  1999 Doug Popeney
// Created by Doug Popeney (easyjava@easyjavascipt.com)
// JavaScript Made Easy!! - http://www.easyjavascript.com

var timerID = null;
var timerRunning = false;
var id,pause=0,position=0;

function ticker() {
        var i,k,msg="YOUR MESSAGE GOES HERE";
        k=(75/msg.length)+1;
        for(i=0;i<=k;i++) msg+=" "+msg;
        document.form2.ticker.value=msg.substring(position,position+75);
        if(position++==38) position=0;
        id=setTimeout("ticker()",1000/10); }

function action() {
        if(!pause) {
                clearTimeout(id);
                pause=1; }

        else {
                ticker();
                pause=0; } }
// --End Hiding Here -->
</script>


Now put this inside your body code. 

<body onLoad="ticker()">

An example is:

<BODY BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#FF0000" VLINK="#000080" ALINK="#000080" onLoad="ticker()">
or 
<body onLoad="ticker()"> 

Now put this where ever you want in your HTML document 

<form name="form2">
<input type="text" name="ticker" size="75">


To change the size of the ticker tape, change the number "75" to what ever size you want in the line... <input type="text" name="ticker" size="75"> 