I am very, very new to Javascript, as in today is the first day I’ve ever used it and I’m getting a little confused.
Here is my page: [url]http://www.photoparadis.net/galleries/awards/test.htm
I would like it to work so that when you click the thumbnails down the bottom, the larger version comes up. So it’s working fine, except all the images are being constrained to one size.
I’ve searched through the script to see where exactly those constraints are being set, but I can’t find anything. I didn’t understand what the Posting Guidelines meant about how to post the script, so I’m afraid I’m just doing a copy and paste. This is the script to do with the image viewer and the thumbnails:
<img name=”mainimage” src=”
</td>
</tr>
<tr>
<td width=”100%” align=”center”>
<p align=”center”>
<a href=”javascript:changeImage(‘../../images/photoshootsmain/awards/gg06/1.jpg’)”><img border=”0″ src=”../../images/photoshootsmain/awards/gg06/1tb.jpg” width=”66″ height=”100″></a>
<a href=”javascript:changeImage(‘../../images/photoshootsmain/awards/gg06/2.jpg’)”><img border=”0″ src=”../../images/photoshootsmain/awards/gg06/2tb.jpg” width=”145″ height=”100″></a>
<a href=”javascript:changeImage(‘../../images/photoshootsmain/awards/gg06/3.jpg’)”><img border=”0″ src=”../../images/photoshootsmain/awards/gg06/3tb.jpg” width=”66″ height=”100″></a>
<a href=”javascript:changeImage(‘../../images/photoshootsmain/awards/gg06/4.jpg’)”><img border=”0″ src=”../../images/photoshootsmain/awards/gg06/4tb.jpg” width=”67″ height=”100″></a>
<a href=”javascript:changeImage(‘../../images/photoshootsmain/awards/gg06/5.jpg’)”><img border=”0″ src=”../../images/photoshootsmain/awards/gg06/5tb.jpg” width=”65″ height=”100″></a>
<a href=”javascript:changeImage(‘../../images/photoshootsmain/awards/gg06/6.jpg’)”><img border=”0″ src=”../../images/photoshootsmain/awards/gg06/6tb.jpg” width=”74″ height=”100″></a>
</p>
So I see the constraints for the thumbnail sizes, but nothing to do with the main image viewer itself.
I got the coding from here: [url]http://javascript.internet.com/miscellaneous/image-viewer.html
If the script I posted doesn’t come up right, or it’s not enough then let me know what I need to post (and how to in very basic terms, this thing’s really confusing me) or open up the page in notepad or something, as I think you can view scripts to other peoples sites like that. Like I said, I’m new to all this.
I look forward to hearing from anyone, and thanks in advance.