<script language="JavaScript">
<!--
var viewPix = new
Array("http://images.bravenet.com/bravenet/images/c/bravenet/aff468/20040113-bn468x60d-1.gif","http://images.bravenet.com/bravenet/images/c/bravenet/aff468/20040113-bn468x60d-2.gif","http://images.bravenet.com/bravenet/images/c/bravenet/aff468/20040113-bn468x60d-3.gif")
var thisImage = 0
function doPast() {
if (document.images && thisImage > 0) {
thisImage--
document.myShow.src=viewPix[thisImage]
}
}
function doAfter() {
if (document.images && thisImage < 2) {
thisImage++
document.myShow.src=viewPix[thisImage]
}
}
// -->
</script>
<div align="center"><img name="myShow"
src="http://images.bravenet.com/bravenet/images/c/bravenet/aff468/20040113-bn468x60d-1.gif"
width="468" height="60"><br><a
href="javascript:doPast()">Previous</a>
<a target="_blank" href="javascript:doAfter()">Next</a></div>
If you have a few images that you would like to display on a webpage
this little script will help. With this you can flip through several
images, one at a time. To modify this script for your needs, change the
image URLs in the script to the exact location of your images on your
web server. If you are using more than 3 images, you will need to
change this line if
(document.images && thisImage < 2) by changing the
number 2 to the number of images you are using less 1.
Support this website by joining the Silver Rails TrainWeb Club for as little as $1 per month.
Click here for info.