on my site i have a page with photo’s in a table.
by clicking on it is presented in a image at the top of the page.
i would like to place a prev and a next button underneat it so you can jump to the next photo instead of clicking on the photo.
i use the undeneat java script to present the small image in the table in the image at the top of the page
<script language=”JavaScript”>
<!–
function nph_change_img_src(name, nsdoc, rpath)
{
var img = eval((navigator.appName.indexOf(‘Netscape’, 0) != -1) ? nsdoc+’.’+name : ‘document.all.’+name);
if (name == ”) return;
if (img) { img.altsrc = img.src; img.src = rpath; }
void(window.top.location=’#top’)
}
// –>
</script>
undeneat is the link set for a photo that is in the table
<a href=”javascript:nph_change_img_src(‘nph_slide1’, ‘document’, ‘Perth/DSC00001.JPG’);”>
is it posible to difine a array using java that contains all the links as shown above. and use a prev / next button to select prev or next array.
thank you