fancybox
fancybox copied to clipboard
Fancybox thumbnail helper using $ in inline javascript
We use prototype and jQuery on the same page and for reasons we wrap everything in anonymous functions and pass in jQuery as a parameter. eg (function($){ $.fancybox(); })(jQuery); or jQuery(function($){ });
The problem is the thumbnailer outputs a link tag with inline javascript: href="javascript: $.fancybox.jumpto(idx)"
I think it would be better and safer to either wrap it or just change it to jQuery.fancybox.jumpto(idx);
Thanks!
Duplicate of #44