[SOLVED]Products with FancyBox Modal Window
Posted: Wed Oct 02, 2013 8:40 pm
I'm trying to get fancbox working on a site I'm building. I'm using the products module and I'm using the following code in my summary template:
I have the following field definitions defined:
image - is the large image
thumbnail - is the thumbnail image
The site page can be found here:
http://intricatecreations.co.uk/new/ind ... on-gallery
The css, and js files load up as they're supposed to. I've checked this using firebug for mozilla firefox.
When I click on a thumbnail image, it loads up the large image but not on a page or in a modal overlay window as its supposed to.
I've seen other posts about the same issue and they've helped me to get where I am now. I can't seem to progress any further as I'm not sure what's causing the issue.
Can anyone help?
Code: Select all
<a href="{$entry->file_location}/{$entry->fields.image->value}" class="fancybox"><img src="{$entry->file_location}/{$entry->fields.thumbnail->value}"></a>image - is the large image
thumbnail - is the thumbnail image
The site page can be found here:
http://intricatecreations.co.uk/new/ind ... on-gallery
The css, and js files load up as they're supposed to. I've checked this using firebug for mozilla firefox.
When I click on a thumbnail image, it loads up the large image but not on a page or in a modal overlay window as its supposed to.
I've seen other posts about the same issue and they've helped me to get where I am now. I can't seem to progress any further as I'm not sure what's causing the issue.
Can anyone help?