|
<script> var curmsg=-1 var messages=new Array() messages[0]="Visit Winfolinx for all the best FREE webmaster tools!" messages[1]="Free resources, javascripts, tips, and more...all at Winfolinx!" messages[2]="Put as many links in the script as you need. Look at all the room you get!" messages[3]="Visit Infolinx-no.com if you understand Norwegian!" messages[4]="Tips and trixs at Winfolinx.com!" //add more messages as desired <!-- This is where you add the URLs to the links --> var messagelinks=new Array() messagelinks[0]="http://winfolinx.com" messagelinks[1]="http://winfolinx.com" messagelinks[2]="http://www.notarealllink.com" messagelinks[3]="http://infolinx-no.com" messagelinks[4]="http://winfolinx.com" //add more links as indicated by the number of messages <!-- This is where you set the time between links. It is currently set at 5500 which is 5.5 seconds. --> function slidemessage(){ if (curmsg<messages.length-1) curmsg++ else curmsg=0 document.slideshow[0].value=messages[curmsg] setTimeout("slidemessage()",5500) } slidemessage() </script> |
|
<form name="slideshow"> <textarea rows="5" name="S1" cols="30" wrap="virtual"> </textarea><br> <input type="button" value="Take me there!" name="B1" onClick="window.location=messagelinks[curmsg]"> </form> |
Free JavaScripts provided
by Winfolinx.com