Check out the statusbar scrolling at the statusbar
at the bottom of the page.
Cut and paste the source code of the above script here (Read How
to Cut N Paste for help)
<!-----------------Cut---------------->
<HTML>
<HEAD>
<TITLE>Marquee</TITLE>
<SCRIPT>
<!--
// Script Editor: Howard Chen
// Browser Compatible for the script: IE 2.0 or Higher
// Netscape 2.0 or Higher
// This script is free as long as you keep its credits
var ShowString = " " //The first line must be blank
+ "JavaScript Scrolling Text Demo is here... " //You can keep adding words in this pattern (+ "Words")
+ "Ain't it cool? You can have it by copying "
+ "the source code if this script.... "
//-------------------------------------------------------------
var ShowWidth = 100
var ShowHead = 0
var ShowTail = ShowWidth
var ShowLength = ShowString.length
//-------------------------------------------------------------
function Marquee ()
{
var DisplayString
if (ShowHead < ShowTail)
DisplayString = ShowString.substring(ShowHead, ShowTail)
else
DisplayString = ShowString.substring(ShowHead, ShowLength)
+ ShowString.substring( 0, ShowTail)
//----------------------------------------------------------
ShowHead = (ShowHead + 1 ) % ShowLength
ShowTail = (ShowTail + 1 ) % ShowLength
//----------------------------------------------------------
window.status = DisplayString
//----------------------------------------------------------
TimerID = setTimeout("Marquee()", 100) //Change the number to change the speed (the fewer, the faster)
}
//====================================================
//-->
</SCRIPT>
</HEAD>
<BODY onLoad="Marquee()">
Check the statusbar at the bottom of the page.
</BODY>
</HTML>
<!------------------End------------------->IMPORTANT: The scripts provided in this page are free as long as you keep the credits in the code. E-mail me or use Script Rebuild Service for additional help about Cut N Paste or to ask for a script that is just for you.