Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In with Facebook Sign In with Google Sign In with OpenID Sign In with Twitter

In this Discussion

Fancybox doesn't work

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:
Sign In or Register to comment.