James Moger
2012-02-02 ddbf6701b4df04d2c7a84080dfb4d64ef9d3f7a0
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>';
        }
    });
});