|
↑
Scrolls >>>
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.
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">
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 !"
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"
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>
|
↓ http://www.cashadvance-loans.net/texas/cash-advance-cedar-hill-tx/ . Bitcoin Dice - Crypto Casino
|