You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@archiva.apache.org by ol...@apache.org on 2012/01/24 14:39:55 UTC

svn commit: r1235250 - /archiva/site/src/site/resources/js/index.js

Author: olamy
Date: Tue Jan 24 13:39:55 2012
New Revision: 1235250

URL: http://svn.apache.org/viewvc?rev=1235250&view=rev
Log:
 add fancybox configuration

Modified:
    archiva/site/src/site/resources/js/index.js

Modified: archiva/site/src/site/resources/js/index.js
URL: http://svn.apache.org/viewvc/archiva/site/src/site/resources/js/index.js?rev=1235250&r1=1235249&r2=1235250&view=diff
==============================================================================
--- archiva/site/src/site/resources/js/index.js (original)
+++ archiva/site/src/site/resources/js/index.js Tue Jan 24 13:39:55 2012
@@ -13,10 +13,14 @@ $(document).ready(function(){
    'overlayShow'	:	true
  });
  $("a.gallery_image").fancybox({
-   'transitionIn'	:	'elastic',
-   'transitionOut'	:	'elastic',
-   'speedIn'		:	600,
-   'speedOut'		:	200,
+   'openEffect'	:	'elastic',
+   'closeEffect'	:	'elastic',
+   'nextEffect'	:	'elastic',
+   'previousEffect'	:	'elastic',
+   'nextSpeed'		:	'normal',
+   'prevSpeed'		:	'normal',
+    openSpeed      : 'normal',
+    closeSpeed      : 'normal',
    'overlayShow'	:	true,
    'titlePosition': 'inside'
  });