James Moger
2012-07-23 fa0afc0f2d7fa3cc6dc5de5dec006c4ecf4c6272
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>';
        }
    });
});