Stardrad Yin
2014-06-10 e29b6e3f7f3831c6063ca67082964b7c50b7ab50
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>';
        }
    });
});