summaryrefslogtreecommitdiffstats
path: root/docs/screenshots.js
blob: c007e6e1f1b0be53862f50422940788110befb4d (plain)
1
2
3
4
5
6
7
8
9
10
$(document).ready(function() {
	$("a[rel=screenshots_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.length ? ' &nbsp; ' + title : '') + '</span>';
		}
	});
});