slide show 002







Slide Show 002


myPics = new Array("images/bh1.jpg","images/bh2.jpg","images/bh3.jpg","images/bh4.jpg")
thisPic = 0
imgCt = myPics.length - 1
function chgSlide(direction) {
if (document.images) {
thisPic = thisPic + direction
if(thisPic > imgCt) {
thisPic = 0
}
if(thisPic < 0){
thisPic = imgCt
}
document.birdHouse.src=myPics[thisPic]
}
}













A:hover {color: #FF0000; font-family: Arial}











Back

Slide Show 002

 




 









<< Previous  
Next >>









This script
will continually flip through the pictures.  Images are highlighted
in yellow. Document tag in
pink.




Script instructions for <HEAD></HEAD> tags




<SCRIPT LANGUAGE="JAVASCRIPT" TYPE="TEXT/JAVASCRIPT">
myPics = new Array("images/bh1.jpg","images/bh2.jpg","images/bh3.jpg","images/bh4.jpg")
thisPic = 0
imgCt = myPics.length - 1
function chgSlide(direction) {
if (document.images) {
thisPic = thisPic + direction
if(thisPic > imgCt) {
thisPic = 0
}
if(thisPic < 0){
thisPic = imgCt
}
document.birdHouse.src=myPics[thisPic]
}
}
</SCRIPT>
 




Script instructions for <BODY> of the HTML
Document




<!-- Paste in the body of the HTML
Document -->
<!-- freejavascriptscd.com -->
<div align="center">
<center>
<table border="5" cellpadding="5" cellspacing="1" width="24%" bgcolor="#C0C0C0">
<tr>
<td width="100%">
<p align="center">
<img border="0" src="images/bh1.jpg"
width="200" height="311" name="birdHouse"></td>
</tr>
<tr>
<td width="100%"><center><b><A HREF="javascript:chgSlide(-1)"><<
Previous</A>
<A HREF="javascript:chgSlide(1)">Next >></A></b></center></td>
</tr>
</table>
</center>
</div>

 






Paste between the <HEAD></HEAD> tags
















myPics = new Array("images/bh1.jpg","images/bh2.jpg","images/bh3.jpg","images/bh4.jpg")
thisPic = 0
imgCt = myPics.length - 1
function chgSlide(direction) {
if (document.images) {
thisPic = thisPic + direction
if(thisPic > imgCt) {
thisPic = 0
}
if(thisPic < 0){
thisPic = imgCt
}
document.birdHouse.src=myPics[thisPic]
}
}











Place where needed in the body of the HTML
Document






















<< Previous  
Next >>














© Copyright 2003ultimatephp.com





Wyszukiwarka

Podobne podstrony:
fading slide show
slide show3
slide show 006
1974 WT Historical Slide Show Info Sheet
slide show5
slide show 001
slide show (2)
show list
show info
bio 002
002 Mk
show?it
MT002
Audioslave Show Me How To Life
skan 002

więcej podobnych podstron