Hello Experts! I'm trying to keep my code simple. I'm trying to create a swap image behavior.
Onclick a thumbnail on a web page displays a larger image on the same page. There are 14 thumbnails. Each time the swap image behavior displays the larger image on the same page, I want each larger image to be linked to another page. So, the thumbnail gets clicked, the larger image is displayed, and that image is linked to another page.
I've got this first swap image behavior down as:
<img src="images/Thumb5.png" width="75" height="75" onclick="document.pic1.src
='images/b
aboon.jpg'
" alt="Baboon"/>
which swaps out:
<img src="images/King.jpg" name="pic1" width="490" height="400" alt="" />
Now, I'd like the baboon.jpg to be linked to a page named baboon.html. All 14 thumbnails have a larger picture and then an html page. I want to avoid popups.
Your recommendations are greatly appreciated.
-jb
Start Free Trial