diff options
author | James Moger <james.moger@gitblit.com> | 2011-05-20 17:31:07 -0400 |
---|---|---|
committer | James Moger <james.moger@gitblit.com> | 2011-05-20 17:31:07 -0400 |
commit | f90dc635928f367f9078f814488c7e385ebc4e2e (patch) | |
tree | fadaa84034ebc128414e495f1f20ac9b285db25a /docs/screenshots.js | |
parent | 9da97003c7f33a64ae5060f413f9c4c5d26efe78 (diff) | |
download | gitblit-f90dc635928f367f9078f814488c7e385ebc4e2e.tar.gz gitblit-f90dc635928f367f9078f814488c7e385ebc4e2e.zip |
Documentation.
Diffstat (limited to 'docs/screenshots.js')
-rw-r--r-- | docs/screenshots.js | 10 |
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 ? ' ' + title : '') + '</span>';
+ }
+ });
+});
\ No newline at end of file |