diff options
author | Olivier Lamy <olamy@apache.org> | 2011-10-11 15:00:15 +0000 |
---|---|---|
committer | Olivier Lamy <olamy@apache.org> | 2011-10-11 15:00:15 +0000 |
commit | 5270a100930201efcb9c96bf40979856906a8dd1 (patch) | |
tree | 560b32f1baef35651bc7dd180a7d290bf1fce7d4 /archiva-docs/src/maven-site.vm | |
parent | 44c25fb16c63191a6f7aa8553e84017a161e3356 (diff) | |
download | archiva-5270a100930201efcb9c96bf40979856906a8dd1.tar.gz archiva-5270a100930201efcb9c96bf40979856906a8dd1.zip |
use fancybox to display more screenshots
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1181821 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'archiva-docs/src/maven-site.vm')
-rw-r--r-- | archiva-docs/src/maven-site.vm | 18 |
1 files changed, 14 insertions, 4 deletions
diff --git a/archiva-docs/src/maven-site.vm b/archiva-docs/src/maven-site.vm index c613411e4..106014f8e 100644 --- a/archiva-docs/src/maven-site.vm +++ b/archiva-docs/src/maven-site.vm @@ -464,11 +464,21 @@ <link rel="stylesheet" href="$relativePath/css/maven-base.css"> <link rel="stylesheet" href="$relativePath/css/boostrap-override.css" <link rel="stylesheet" href="$relativePath/css/prettify.css" type="text/css" media="all" /> - <script type="text/javascript" src="$relativePath/js/prettify.js"></script> + <script src="$relativePath/js/jquery-1.4.3.min.js" type="text/javascript"></script> + <script src="$relativePath/js/jquery.fancybox-1.3.4.pack.js" type="text/javascript"></script> + <script src="$relativePath/js/jquery.easing-1.3.pack.js" type="text/javascript"></script> + <script src="$relativePath/js/jquery.mousewheel-3.0.4.pack.js" type="text/javascript"></script> + <link rel="stylesheet" href="$relativePath/css/jquery.fancybox-1.3.4.css" type="text/css" media="screen" /> <script type="text/javascript"> - window.onload=function() { - prettyPrint(); - } + $(document).ready(function() { + $("a#single_image").fancybox({ + 'transitionIn' : 'elastic', + 'transitionOut' : 'elastic', + 'speedIn' : 600, + 'speedOut' : 200, + 'overlayShow' : true + }); + }); </script> #foreach( $author in $authors ) <meta name="author" content="$author" /> |