Status Bar Scroller Script


This html script will give your web page a Status Bar Scroller, an example of this is on this page. All you have to do to get the pop up script is copy and paste the script below on to your web page


Copy this part of the script inside the <BODY> tag.

onload="scroll(); return true"

Example: <body onload="scroll(); return true" bgcolor="000000">


Copy this part of the script inbetween the <HEAD></HEAD> tags.

<!--start Status Line Typewrite Script-->

<script language="javascript">
var scrlStr="YOUR MESSAGE GOES HERE"
var width=140;
var strLen=scrlStr.length;
var pos=1-width;
function scroll() {
var scroll = "";
pos++;
if(pos == strLen)
pos =1 - width;
if(pos<0){
for(var i=1;i<=Math.abs(pos);i++)
scroll=scroll+" ";
scroll=scroll+scrlStr.substring(0,width-i+1);
}
else
scroll=scroll+scrlStr.substring(pos,pos+width);
window.status=scroll;
setTimeout("scroll()",75);
}
</script>

<!--finish Status Line Typewrite Script-->


The only thing you have to change is where it says YOUR MESSAGE GOES HERE, I have heighlighted it in red to make it easy for you. Leave in ALL puctuation and quotation marks.


List of Craig's html scripts.
mouseover images | break out of frames | auto page changer | email links | text mouseover |
digital clock | text scroll | sound waves | pop up mouseover | button pop up |
button mouseover | statas scroll |
Animated images.
cartoons | bars | people | animals | icons |
buttons | words | miscellous |
None animated images.
back grounds | sound clips | Downloads |
Home Page | South Park Page |