Author: olamy
Date: Thu Sep  6 20:55:34 2012
New Revision: 1381752

URL: http://svn.apache.org/viewvc?rev=1381752&view=rev
Log:
missed to add files

Added:
    archiva/site/src/site/resources/js/fancybox.js   (with props)

Added: archiva/site/src/site/resources/js/fancybox.js
URL: 
http://svn.apache.org/viewvc/archiva/site/src/site/resources/js/fancybox.js?rev=1381752&view=auto
==============================================================================
--- archiva/site/src/site/resources/js/fancybox.js (added)
+++ archiva/site/src/site/resources/js/fancybox.js Thu Sep  6 20:55:34 2012
@@ -0,0 +1,24 @@
+$(document).ready(function(){
+ /*rel gallery_image not define for html 5 introduce by js for fancybox */
+ $("a.gallery_image").attr('rel', 'gallery_image');
+
+ $("a#single_image").fancybox({
+   'transitionIn'      :       'elastic',
+   'transitionOut'     :       'elastic',
+   'speedIn'           :       600,
+   'speedOut'          :       200,
+   'overlayShow'       :       true
+ });
+ $("a.gallery_image").fancybox({
+   'openEffect'        :       'elastic',
+   'closeEffect'       :       'elastic',
+   'nextEffect'        :       'elastic',
+   'previousEffect'    :       'elastic',
+   'nextSpeed'         :       'normal',
+   'prevSpeed'         :       'normal',
+   'openSpeed'      : 'normal',
+   'closeSpeed'      : 'normal',
+   'overlayShow'       :       true,
+   'titlePosition': 'inside'
+ });
+});
\ No newline at end of file

Propchange: archiva/site/src/site/resources/js/fancybox.js
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: archiva/site/src/site/resources/js/fancybox.js
------------------------------------------------------------------------------
    svn:keywords = Author Date Id Revision


Reply via email to