Fancybox2 Inline Content Gallery
- by beefchimi
I am trying to create a gallery of inline content with Fancybox 2, and am failing miserably.
I checked out some other resources online and they seem to indicate doing this relatively easily, yet, I cannot seem to get it to work.
Here is my fiddle:
http://jsfiddle.net/beefchimi/jtxHd/2/
Now, I feel like the fiddle is not loading the resources, so thats a problem. But even with the resources this does not work, I get the fancybox error.
Resources:
http://fancyapps.com/fancybox/source/jquery.fancybox.pack.js?v=2.1.3
http://fancyapps.com/fancybox/source/jquery.fancybox.css?v=2.1.3
Any help would be greatly appreciated.
EDIT: So I can't submit my question without including some code, because linking to jsfiddle isn't okay, so, here is my fancybox initialization, which you will also find in the jsfiddle:
$(document).ready(function() {
$('a.inlinepopup').fancybox({
'width' : '75%',
'height' : '75%',
'autoScale' : false,
'type' : 'iframe'
});
});