slide show 001




Slide Show 001






















myPics = new Array("images/straw.jpg","images/apple.jpg","images/cherry.jpg")
thisPic = 0
imgCt = myPics.length
function rotate() {
if (document.images) {
thisPic++
if(thisPic == imgCt) {
thisPic = 0
}
document.slsh.src=myPics
[thisPic]
setTimeout("rotate()",2*1000)
}
}





A:hover {color: red; font-weight: bold}









Back

Slide Show 001

 




 















This is a common script and can have as
many images you need.  This script has three parts. Document tag in
pink




Script instructions for <HEAD></HEAD> tags




<SCRIPT LANGUAGE="JAVASCRIPT" TYPE="TEXT/JAVASCRIPT">
myPics = new Array("images/straw.jpg","images/apple.jpg","images/cherry.jpg")
thisPic = 0
imgCt = myPics.length
function rotate() {
if (document.images) {
thisPic++
if(thisPic == imgCt) {
thisPic = 0
}
document.slsh.src=myPics
[thisPic]
setTimeout("rotate()",2*1000)
}
}

</SCRIPT>
 




Script for <BODY> tag of the HTML
Document




onLoad="rotate()"




Paste where needed in the body of the HTML
document




<img border="3" src="images/straw.jpg"
name="slsh" width="200"
height="267">




Paste script between the <HEAD></HEAD> tags.
















myPics = new Array("images/straw.jpg","images/apple.jpg","images/cherry.jpg")
thisPic = 0
imgCt = myPics.length
function rotate() {
if (document.images) {
thisPic++
if(thisPic == imgCt) {
thisPic = 0
}
document.slsh.src=myPics
[thisPic]
setTimeout("rotate()",2*1000)
}
}













Paste into  the <BODY> tag
















onLoad="rotate()"









Paste script where needed in the body of the HTML Document.





























© Copyright 2003
Ultimatephp.com


 





Wyszukiwarka

Podobne podstrony:
fading slide show
slide show3
slide show 006
1974 WT Historical Slide Show Info Sheet
slide show5
slide show 002
slide show (2)
show list
show info
can RENAULT CLIO III GRANDTOUR 08 XX PL 001
001 PMP cw1
v 06 001
Zestawy 001
03 0000 001 02 Leczenie raka piersi docetakselem

więcej podobnych podstron