Web Design Forum HTML CSS JavaScript PHP Graphic Design SEO forum

Full Version: Lightbox Help in Dreamweaver
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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','','h​ide')" 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
Lightbox Help - (Dreamweaver)
Alright, wasn't able to locate any previous results so maybe someone
can advise me on 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"
Here's a portion of my code.
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','','h​ide')" 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.
Lightbox

Lightbox is a simple, unobtrusive script used to overlay images on the current page. Works in all modern browsers.

This script is now available as a Dreamweaver extension allowing you a point and click method for setting up your own Lightbox galleries within Dreamweaver.
Thanks for sharing this information with us....
Lightbox is a simple, unobtrusive script used to overlay images on the current page. Works in all modern browsers.

This script is now available as a Dreamweaver extension allowing you a point and click method for setting up your own Lightbox galleries within Dreamweaver.
Reference URL's