hello,
I'm working on a site for a furniture store, and right now I'm working on their Online Showroom(Gallery). I have remote rollovers so that when you rollover a thumbnail, the main image changes to reflect which thumbnail the user has rolled over. All this is working fine, my question is however, how do I make it to where after the main image changes to which thumbnail is rolled over, the main image becomes a different link so then when you click that image, it opens a Full-Resolution version of the image in a new window.
I just can't seem to get it to work right, the main image ALWAYS is linked to the first thumbnails Full-Res version
Here is the code I have
Do I have to assign a variable or something? I've tried google-ing this but no luck so far.
Any help will be appreciated.
I'm working on a site for a furniture store, and right now I'm working on their Online Showroom(Gallery). I have remote rollovers so that when you rollover a thumbnail, the main image changes to reflect which thumbnail the user has rolled over. All this is working fine, my question is however, how do I make it to where after the main image changes to which thumbnail is rolled over, the main image becomes a different link so then when you click that image, it opens a Full-Resolution version of the image in a new window.
I just can't seem to get it to work right, the main image ALWAYS is linked to the first thumbnails Full-Res version
Here is the code I have
Code:
<div id="left">
<a href="Full_jpegs/livingRoom.jpg" target="_blank"><img src="full/livingRoom.jpg" alt="Click for Full View" name="mid" width="450" height="auto" onmouseover="MM_swapImage('mid','','full/livingRoom_rollover.jpg',1)" onmouseout="MM_swapImgRestore()" /></a></div>
<div id="right">
<h1>Living Room Gallery</h1>
<br />
<div class="thumb"><a href="showroom.html" title=""><img src="thumbs/livingRoom_thumb.jpg" width="100" height="75" alt="thumb" onmouseover="MM_swapImage('mid','','full/livingRoom.jpg',1)"/></a></div>
<div class="thumb"><a href="#" title=""><img src="thumbs/livingRoom_2_thumb.jpg" width="100" height="75" alt="thumb" onmouseover="MM_swapImage('mid','','full/livingRoom_2.jpg',2)" /></a></div>
<div class="thumb"><a href="#" title=""><img src="thumbs/livingRoom_3_thumb.jpg" width="100" height="75" alt="thumb" onmouseover="MM_swapImage('mid','','full/livingRoom_3.jpg',1)"/></a></div>
<div class="thumb"><a href="#" title=""><img src="thumbs/cabinet_3_andVases_thumb.jpg" width="100" height="75" alt="thumb" onmouseover="MM_swapImage('mid','','full/cabinet_3_andVases.jpg',1)"/></a></div>
<div class="thumb"><a href="#" title=""><img src="thumbs/lampSilhouette_thumb.jpg" width="100" height="75" alt="thumb" onmouseover="MM_swapImage('mid','','full/lampSilhouette.jpg',1)"/></a></div>
<div class="thumb"><a href="#" title=""><img src="thumbs/chair&endTable_thumb.jpg" width="100" height="75" alt="thumb" onmouseover="MM_swapImage('mid','','full/chair&endTable.jpg',1)"/></a></div>
<div class="thumb"><a href="#" title=""><img src="thumbs/chair&lamp_thumb.jpg" width="100" height="75" alt="thumb" onmouseover="MM_swapImage('mid','','full/chair&lamp.jpg',1)"/></a></div>
<div class="thumb"><a href="#" title=""><img src="thumbs/chair&plants_thumb.jpg" width="100" height="75" alt="thumb" onmouseover="MM_swapImage('mid','','full/chair&plants.jpg',1)"/></a></div>
<div class="thumb"><a href="#" title=""><img src="thumbs/tableWithCandles_thumb.jpg" width="100" height="75" alt="thumb" onmouseover="MM_swapImage('mid','','full/tableWithCandles.jpg',1)"/></a></div>
Do I have to assign a variable or something? I've tried google-ing this but no luck so far.
Any help will be appreciated.