commit | author | age | ||
48fe87 | 1 | $(document).ready(function() { |
M | 2 | $("a[rel=screenshots_group]").fancybox({ |
3 | 'transitionIn' : 'none', | |
4 | 'transitionOut' : 'none', | |
5 | 'titlePosition' : 'over', | |
6 | 'titleFormat' : function(title, currentArray, currentIndex, currentOpts) { | |
7 | return '<span id="fancybox-title-over">Image ' + (currentIndex + 1) + ' / ' + currentArray.length + (title.length ? ' ' + title : '') + '</span>'; | |
8 | } | |
9 | }); | |
10 | }); |