summaryrefslogtreecommitdiffstats
path: root/docs/screenshots.js
diff options
context:
space:
mode:
authorJames Moger <james.moger@gitblit.com>2011-05-20 17:31:07 -0400
committerJames Moger <james.moger@gitblit.com>2011-05-20 17:31:07 -0400
commitf90dc635928f367f9078f814488c7e385ebc4e2e (patch)
treefadaa84034ebc128414e495f1f20ac9b285db25a /docs/screenshots.js
parent9da97003c7f33a64ae5060f413f9c4c5d26efe78 (diff)
downloadgitblit-f90dc635928f367f9078f814488c7e385ebc4e2e.tar.gz
gitblit-f90dc635928f367f9078f814488c7e385ebc4e2e.zip
Documentation.
Diffstat (limited to 'docs/screenshots.js')
-rw-r--r--docs/screenshots.js10
1 files changed, 10 insertions, 0 deletions
diff --git a/docs/screenshots.js b/docs/screenshots.js
new file mode 100644
index 00000000..c007e6e1
--- /dev/null
+++ b/docs/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 ? ' &nbsp; ' + title : '') + '</span>';
+ }
+ });
+}); \ No newline at end of file