archiva-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ol...@apache.org
Subject svn commit: r1381752 - /archiva/site/src/site/resources/js/fancybox.js
Date Thu, 06 Sep 2012 20:55:35 GMT
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



Mime
View raw message