<script type="text/javascript">
/* This script and many more are available free online at
The JavaScript Source!! http://kanalbizim.tr.gg
Created by: Jay M. Rumsey, OD | http://www.kanalbizim.tr.gg/
var num=0;
imgArray = [
['pix1-sm.gif','information', 'The beautiful mountains'],
['pix2-sm.gif','interference','The crystal clear lake'],
['pix3-sm.gif','message','The lonesome, barren tree']
]
function slideshow(slide_num) {
document.getElementById('mypic').src=imgArray[slide_num][0];
document.getElementById('mypic').alt=imgArray[slide_num][1];
document.getElementById('burns').innerHTML=imgArray[slide_num][2];
}
function slideshowUp() {
num++;
num = num % imgArray.length;
slideshow(num);
}
function slideshowBack() {
num--;
if (num < 0) {num=imgArray.length-1;}
num = num % imgArray.length;
slideshow(num);
}
</script>
<div style="text-align: center">
<!-- Place the first image here -->
<img src="pix1-sm.gif" id="mypic" name="mypic" alt="information" border="0" height="150" width="200">
<br>
<!-- Place the text for the first image here -->
<div id="burns">The beautiful mountains</div>
<p>
<a href="#" onclick="slideshowBack(); return false;">« Previous</a> |
<a href="#" onclick="slideshowUp(); return false;"> Next »</a>
</div>
http://www.kanalbizim.tr.gg
kanalbizim@hotmail.com