diff options
author | Olivier Lamy <olamy@apache.org> | 2011-10-10 15:34:12 +0000 |
---|---|---|
committer | Olivier Lamy <olamy@apache.org> | 2011-10-10 15:34:12 +0000 |
commit | e67d4b4bf43c8a438e3c7978136007ee5474a2aa (patch) | |
tree | 7fc10a7c1e0fd279b2212c234454d96e5c73afd7 /archiva-docs/src/site/xdoc/tour | |
parent | 77fd603c0c12af230db0a48ae39c1e13c17c7c38 (diff) | |
download | archiva-e67d4b4bf43c8a438e3c7978136007ee5474a2aa.tar.gz archiva-e67d4b4bf43c8a438e3c7978136007ee5474a2aa.zip |
add fancybox jquery plugin to magnify images: not apply everywhere I will ask for comments
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1181023 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'archiva-docs/src/site/xdoc/tour')
-rw-r--r-- | archiva-docs/src/site/xdoc/tour/project.xml | 15 | ||||
-rw-r--r-- | archiva-docs/src/site/xdoc/tour/search.xml | 14 |
2 files changed, 27 insertions, 2 deletions
diff --git a/archiva-docs/src/site/xdoc/tour/project.xml b/archiva-docs/src/site/xdoc/tour/project.xml index e347e1e58..504b9ca14 100644 --- a/archiva-docs/src/site/xdoc/tour/project.xml +++ b/archiva-docs/src/site/xdoc/tour/project.xml @@ -23,11 +23,24 @@ <author email="brett@apache.org">Brett Porter</author> </properties> <head> + </head> <body> + <script src="../js/jquery-1.4.3.min.js" type="text/javascript"></script> + <script src="../js/jquery.fancybox-1.3.4.pack.js" type="text/javascript"></script> + <script src="../js/jquery.easing-1.3.pack.js" type="text/javascript"></script> + <script src="../js/jquery.mousewheel-3.0.4.pack.js" type="text/javascript"></script> + <link rel="stylesheet" href="../css/jquery.fancybox-1.3.4.css" type="text/css" media="screen" /> + <script type="text/javascript"> + <![CDATA[ + $(document).ready(function() { + $("a#single_image").fancybox(); + }); + //]]> + </script> <section name="Project Information"> <div style="text-align: center"> - <img src="../images/tour/project.png" width="640" height="401" alt="" /> + <a id="single_image" href="../images/tour/project.png"><img src="../images/tour/project.png" width="640" height="401" alt="" /></a> <p> Archiva provides an informative display for projects and artifacts stored in the repository. This includes a user-friendly display of the Maven project information, as well as the relationships diff --git a/archiva-docs/src/site/xdoc/tour/search.xml b/archiva-docs/src/site/xdoc/tour/search.xml index e755937f5..b34e30a24 100644 --- a/archiva-docs/src/site/xdoc/tour/search.xml +++ b/archiva-docs/src/site/xdoc/tour/search.xml @@ -25,9 +25,21 @@ <head> </head> <body> + <script src="../js/jquery-1.4.3.min.js" type="text/javascript"></script> + <script src="../js/jquery.fancybox-1.3.4.pack.js" type="text/javascript"></script> + <script src="../js/jquery.easing-1.3.pack.js" type="text/javascript"></script> + <script src="../js/jquery.mousewheel-3.0.4.pack.js" type="text/javascript"></script> + <link rel="stylesheet" href="../css/jquery.fancybox-1.3.4.css" type="text/css" media="screen" /> + <script type="text/javascript"> + <![CDATA[ + $(document).ready(function() { + $("a#single_image").fancybox(); + }); + //]]> + </script> <section name="Artifact Search"> <div style="text-align: center"> - <img src="../images/tour/search.png" width="640" height="401" alt="" /> + <a id="single_image" href="../images/tour/search.png"><img src="../images/tour/search.png" width="640" height="401" alt="" /></a> <p> Archiva has both a user-friendly browsing interface, and powerful search functionalities. The contents of all artifacts are indexed, including Maven project information and Java class information to facilitate locating code within any repository. |