Web Design Forum HTML CSS JavaScript PHP Graphic Design SEO forum
Lightbox Help in Dreamweaver - Printable Version

+- Web Design Forum HTML CSS JavaScript PHP Graphic Design SEO forum (http://www.webdesignforum.com.au)
+-- Forum: Web and Graphic Design (/forumdisplay.php?fid=1)
+--- Forum: Programming (/forumdisplay.php?fid=10)
+--- Thread: Lightbox Help in Dreamweaver (/showthread.php?tid=100)



Lightbox Help in Dreamweaver - petermoses - 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','','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


RE: Lightbox Help in Dreamweaver - dianna - 08-04-2011 10:35 PM

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.


RE: Lightbox Help in Dreamweaver - netshet - 08-13-2011 07:37 PM

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.


RE: Lightbox Help in Dreamweaver - awsrumana - 08-14-2011 04:58 PM

Thanks for sharing this information with us....


RE: Lightbox Help in Dreamweaver - hairtransplant - 01-20-2012 02:11 AM

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.