Changeset 2473
- Timestamp:
- 07/10/10 19:07:40 (13 years ago)
- Location:
- plugins/fancybox
- Files:
-
- 14 added
- 13 edited
Legend:
- Unmodified
- Added
- Removed
-
plugins/fancybox/_define.php
r1884 r2473 4 4 # This file is part of fancybox, a plugin for Dotclear 2. 5 5 # 6 # Copyright (c) 2009 Osku and contributors6 # Copyright (c) 2009 -2010 Osku and contributors 7 7 # Licensed under the GPL version 2.0 license. 8 8 # See LICENSE file or … … 15 15 /* Description*/ "Fancy image zooming tool", 16 16 /* Author */ "Osku and contributors", 17 /* Version */ '1. 0.1',17 /* Version */ '1.1.2', 18 18 /* Permissions */ 'admin' 19 19 ); -
plugins/fancybox/_public.php
r1884 r2473 4 4 # This file is part of fancybox, a plugin for Dotclear 2. 5 5 # 6 # Copyright (c) 2009 Osku and contributors6 # Copyright (c) 2009 -2010 Osku and contributors 7 7 # Licensed under the GPL version 2.0 license. 8 8 # See LICENSE file or … … 23 23 $url = $core->blog->getQmarkURL().'pf='.basename(dirname(__FILE__)); 24 24 echo 25 '<style type="text/css">'."\n". 26 '@import url('.$url.'/css/jquery.fancybox-1.2.5.css);'."\n". 27 "</style>\n". 28 '<script type="text/javascript" src="'.$url.'/js/jquery.fancybox-1.2.5.pack.js"></script>'."\n". 25 '<link rel="stylesheet" href="/?pf=fancybox/css/jquery.fancybox-1.3.1.css" type="text/css" media="screen" />'."\n". 26 '<script type="text/javascript" src="'.$url.'/js/jquery.mousewheel-3.0.2.pack.js"></script>'."\n". 27 '<script type="text/javascript" src="'.$url.'/js/jquery.fancybox-1.3.1.js"></script>'."\n". 29 28 '<script type="text/javascript">'."\n". 30 29 "//<![CDATA[\n". … … 33 32 '$(this).find("a[href$=.jpg],a[href$=.jpeg],a[href$=.png],a[href$=.gif],'. 34 33 'a[href$=.JPG],a[href$=.JPEG],a[href$=.PNG],a[href$=.GIF]").attr("rel","fancy").fancybox({'. 35 '"zoomSpeedIn" : 500,'. 36 '"zoomSpeedOut" : 500,'. 37 '"overlayShow" : false '. 34 '"titlePosition" : "over"'. 38 35 "});\n". 39 36 "})\n".
Note: See TracChangeset
for help on using the changeset viewer.