HOME | CONTACT | TESTIMONIALS | ABOUT US |  ON-LINE STORE      

 

At ReWritables, you'll find hundreds of free resources including Java Scripts, HTML Tips and tricks and more. 
Our Free banner gallery has hundreds of free images.  Need custom animation, graphics design or web site 
graphics?  We'll be glad to help!

 

JavaScript Browser Scroller

A versatile script that creates the scrolling message you see at the bottom of your browser

 

<!-- TWO STEPS TO INSTALL THIS SCROLL:

1. Paste the coding into the HEAD of your HTML document
2. Copy the onLoad event handler into the BODY tag -->

<!-- STEP ONE: Copy this code into the HEAD of your HTML document -->

<HEAD>

<SCRIPT LANGUAGE="JavaScript">

<!-- Free Javascripta and banners at www.rewritables.net -->

<!-- Begin
function scrollit(seed) {
var m1 = "Welcome to ReWritables.net";
var m2 = ".... FREE Banners, Javascripts";
var m3 = "......and much more";
var m4 = "";
var msg=m1+m2+m3+m4;
var out = " ";
var c = 1;
if (seed > 100) {
seed--;
cmd="scrollit("+seed+")";
timerTwo=window.setTimeout(cmd,100);
}
else if (seed <= 100 && seed > 0) {
for (c=0 ; c < seed ; c++) {
out+=" ";
}
out+=msg;
seed--;
window.status=out;
cmd="scrollit("+seed+")";
timerTwo=window.setTimeout(cmd,100);
}
else if (seed <= 0) {
if (-seed < msg.length) {
out+=msg.substring(-seed,msg.length);
seed--;
window.status=out;
cmd="scrollit("+seed+")";
timerTwo=window.setTimeout(cmd,100);
}
else {
window.status=" ";
timerTwo=window.setTimeout("scrollit(100)",75);
}
}
}
// End -->
</SCRIPT>

<!-- STEP TWO: Add this onLoad event handler into the BODY tag -->

<BODY onLoad="scrollit(100)">

MORE
FREE STUFF!

 

Terms of Use | Press Room | About Us | Contact Us | Feedback

Copyright©2003 ReWritables Incorporated