
Originally Posted by
limelites
I use this mod already on my site for the product info page to enlarge the main image and additional images. It works a treat for me there.
My question is, how would I get it to work on a defined page like this one:
http://www.silkblooms.co.uk/index.ph...e_arrangements
Rather than pasting that big map in there, I'd rather thumbnail the map and have it open in a lightbox.
Do I need to insert javascript into the HTML I'm using on this page? Any pointers greatly appreciated.
You need to copy the includes\modules\pages\product_info\jscript_zen_lightbox.php to your includes\modules\pages\hire_arrangements\jscript_zen_lightbox.php That will load the script into your page. Then its just a matter of setting up the links, rel="lightbox" and rel="lightbox-g".
Code:
<a href="images/image-1.jpg" rel="lightbox" title="my caption">image #1</a>
basicly, something like this..
Code:
<a href="images/large.jpg" rel="lightbox-g" title="My very large image"><img src="images/small.jpg" alt="My very large image" title=" My very large image" width="65" height="80" /><br />Click for larger image</a>'