I am just looking at the fancybox v2 at the moment.
I am trying to get a gallery to load with fancybox but with manual call. I dont want the gallery images to be loa
If you want to / have to use older jQuery Versions (e.g. because of a Drupal Module) get rid of the .on() and use
< a href="javascript:;" id="launcher">LINK TO TOPEN GALLERY< /a>
and
jQuery(document).ready(function($) {
$("#launcher").click(function() {
$(".imagefield-fancybox").eq(0).trigger("click");
});
});
instead.
Works also with older jQuery Versions. Replace ".imagefield-fancybox" with the class you are using.