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
evolucja
New
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:
I have no idea how to initialize this fancybox..
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:
0
Best Answer
-
@evolucja You might want to check out this plugin here: http://vanillaforums.org/addon/782/jquery-fancybox0
Answers