diff options
Diffstat (limited to 'src/site/resources/screenshots.js')
-rw-r--r-- | src/site/resources/screenshots.js | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/site/resources/screenshots.js b/src/site/resources/screenshots.js new file mode 100644 index 00000000..c007e6e1 --- /dev/null +++ b/src/site/resources/screenshots.js @@ -0,0 +1,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 ? ' ' + title : '') + '</span>';
+ }
+ });
+});
\ No newline at end of file |