this is for group facebox images
$(document).ready(function() {
$("a[rel=example_group]").fancybox({
'transitionIn' : 'none',
'transitionOut' : 'none',
'titlePosition' : 'over',
'titleFormat'       : function(title, currentArray, currentIndex, currentOpts) {
   return '<span id="fancybox-title-over">Image ' +  (currentIndex + 1) + ' / ' + currentArray.length + ' ' + title + '</span>';
}
});



});

Comments

Popular posts from this blog

Jquery Captcha validation plugin

Resize ReCaptcha width height