Script Categories













Scrolls >>> Message Slideshow.

A form box message slideshow that rotates among infinite number of messages. Each message is associated with a unique URL, and clicking the button will take the surfer to a different URL, depending on when he/she clicks it.


What's On Update

Add the below code to the <body> section of your page:

<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td width="100%"><form name="slideshow"><div align="center"><br><b>What's On Update</b><br><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]">
      </div>
    </form>
    </td>
  </tr>
</table>
<script language="javascript" type="text/javascript">
/* Visit http://www.yaldex.com/ for full source code
and get more free JavaScript, CSS and DHTML scripts! */
var curmsg=-1
var messages=new Array()
messages[0]="Check out CNN, one of the premier news site on the net, covering national international, sports, and wheather news!"
messages[1]="Visit Wired.com for the latest happenings in the technology sector."
messages[2]="Go to download.com to download the latest shareware and demo programs!"
messages[3]="Get Advanced JavaScript Editor, Validator and Debugger !"
//add more messages as desired

var messagelinks=new Array()
messagelinks[0]="http://www.cnn.com"
messagelinks[1]="http://www.wired.com"
messagelinks[2]="http://www.download.com"
messagelinks[3]="http://www.yaldex.com/JSFactory_Pro.htm"
//add more links as indicated by the number of messages

function slidemessage(){
if (curmsg<messages.length-1)
curmsg++
else
curmsg=0
document.slideshow[0].value=messages[curmsg]
setTimeout("slidemessage()",3500)
}
document.slideshow[0].style.backgroundColor = '#E6FFFF';
document.slideshow[0].style.color = 'red';
slidemessage()
</script>

JavaScript Editor Get Advanced
JavaScript and Ajax Editor,
Validator and Debugger!

1st JavaScript Editor.



Code was highlighted by 1st JavaScript Editor (The Best JavaScript Editor!).

fat burning supplements


©