I've got Fancybox set on my images like so
<a class="fancybox fancybox.iframe" href="products.php?prod_id=36">
<div class="prod-img">
<img src="images/products/Apples_Red_Delicious.jpg" style="max-height:114px; max-width: 114px;" alt="Apples Red delicious ($3.99kg)"/>
</div>
</a>
And I've got the script for document ready set
$(document).ready(function() {
$('.fancybox').fancybox({
width: 560,
autoHeight: true,
scrolling: 'no'
});
});
(type: 'iframe'
has been removed from the script as isn't needed and didn't make a difference)
But it just won't load the page in Fancybox for me!
I literally copied and pasted the code from another document in the same folder and it works on there, but not here.
I've tried just moving the link to wrap around just standard text but still no luck
You can preview the page at http://www.dpdesignz.co.nz/homefresh/shop.php?prod=1. Can anyone see what might be wrong with it?