Dotclear

Changeset 2473


Ignore:
Timestamp:
07/10/10 19:07:40 (13 years ago)
Author:
Osku
Message:

fancybox 1.1.2

Location:
plugins/fancybox
Files:
14 added
13 edited

Legend:

Unmodified
Added
Removed
  • plugins/fancybox/_define.php

    r1884 r2473  
    44# This file is part of fancybox, a plugin for Dotclear 2. 
    55# 
    6 # Copyright (c)  2009 Osku and contributors 
     6# Copyright (c)  2009 -2010 Osku and contributors 
    77# Licensed under the GPL version 2.0 license. 
    88# See LICENSE file or 
     
    1515     /* Description*/         "Fancy image zooming tool", 
    1616     /* Author */             "Osku and contributors", 
    17      /* Version */            '1.0.1', 
     17     /* Version */            '1.1.2', 
    1818     /* Permissions */        'admin' 
    1919); 
  • plugins/fancybox/_public.php

    r1884 r2473  
    44# This file is part of fancybox, a plugin for Dotclear 2. 
    55# 
    6 # Copyright (c)  2009 Osku and contributors 
     6# Copyright (c)  2009 -2010 Osku and contributors 
    77# Licensed under the GPL version 2.0 license. 
    88# See LICENSE file or 
     
    2323          $url = $core->blog->getQmarkURL().'pf='.basename(dirname(__FILE__)); 
    2424          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". 
    2928          '<script type="text/javascript">'."\n". 
    3029          "//<![CDATA[\n". 
     
    3332                         '$(this).find("a[href$=.jpg],a[href$=.jpeg],a[href$=.png],a[href$=.gif],'. 
    3433                         '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"'. 
    3835                         "});\n". 
    3936               "})\n". 
Note: See TracChangeset for help on using the changeset viewer.

Sites map