Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

Fancybox doesn't work

evolucjaevolucja New
edited October 2011 in Vanilla 2.0 - 2.8
In theme I have:

public function Base_Render_Before($Sender) {

$Sender->AddJsFile('jquery.easing-1.3.pack.js');
$Sender->AddJsFile('jquery.fancybox-1.3.4.pack.js');
$Sender->AddJsFile('jquery.mousewheel-3.0.4.pack.js');
$Sender->AddJsFile('jquery.fancybox-gallery.js');
}

It sucessfully includes all the files except jquery.fancybox-gallery.js which is:
jQuery(function($){ $("a#example2").fancybox({ 'titleShow' : false, 'transitionIn' : 'elastic', 'transitionOut' : 'elastic', 'easingIn' : 'easeOutBack', 'easingOut' : 'easeInBack' }); }
I have no idea how to initialize this fancybox..
Tagged:

Best Answer

Answers

Sign In or Register to comment.