Support » Plugin: Gallery by BestWebSoft » Infinite Scrol Gallery

Viewing 1 replies (of 1 total)
  • solved! just add this code in Infinite Scrol

    (function($){
    			$(document).ready(function(){
    				$("a[rel=gallery_fancybox]").fancybox({
    					'transitionIn'		: 'elastic',
    					'transitionOut'		: 'elastic',
    					'titlePosition' 	: 'inside',
    					'speedIn'					:	500,
    					'speedOut'				:	300,
    					'titleFormat'			: function(title, currentArray, currentIndex, currentOpts) {
    						return '<span id="fancybox-title-inside">' + (title.length ? title + '<br />' : '') + 'Image ' + (currentIndex + 1) + ' / ' + currentArray.length + '</span><br /><a href="'+$(currentOpts.orig).attr('rel')+'" target="_blank">Download High resolution image </a>';
    					}				});
    			});
    		})(jQuery);

Viewing 1 replies (of 1 total)
  • The topic ‘Infinite Scrol Gallery’ is closed to new replies.