10-27-2010, 07:15 PM
Alright, maybe someone can help me with this.
I've got some thumbnails connected to the "Swap Image" behavior.
Basically a disjointed rollover.
Now I want to attach the LightBox script to the rolled over image.
The difficulty I'm having is locating where to attach and create the <a href link and rel="lightbox" attribute on my image "Greed.jpg"
HTML Code:
<img src="Images/Thumbnails/7D1.jpg" alt="" name="thumb_01" width="74" height="74" class="TNPositioning2" id="thumb_01" onclick="MM_showHideLayers('caption1','','hide','caption2','','show','caption3','','hide','caption4','','hide','caption5','','hide','caption6','','hide','caption7','','hide')" onmousedown="MM_swapImage('photo_large','','Images/Greed.jpg',1)" />
For clarity you'll see in the beginning a thumbnail called "/7D1", a class, id, show-hide elements for captions, then towards the end the swapImages behavior connected to my image "Greed.jpg" That's the image I'm trying to attach the lightbox link to.
Thanks again.
Dr. Bronner is offline Reply With Quote
I've got some thumbnails connected to the "Swap Image" behavior.
Basically a disjointed rollover.
Now I want to attach the LightBox script to the rolled over image.
The difficulty I'm having is locating where to attach and create the <a href link and rel="lightbox" attribute on my image "Greed.jpg"
HTML Code:
<img src="Images/Thumbnails/7D1.jpg" alt="" name="thumb_01" width="74" height="74" class="TNPositioning2" id="thumb_01" onclick="MM_showHideLayers('caption1','','hide','caption2','','show','caption3','','hide','caption4','','hide','caption5','','hide','caption6','','hide','caption7','','hide')" onmousedown="MM_swapImage('photo_large','','Images/Greed.jpg',1)" />
For clarity you'll see in the beginning a thumbnail called "/7D1", a class, id, show-hide elements for captions, then towards the end the swapImages behavior connected to my image "Greed.jpg" That's the image I'm trying to attach the lightbox link to.
Thanks again.
Dr. Bronner is offline Reply With Quote