Changeset 41838 in spip-zone


Ignore:
Timestamp:
Oct 21, 2010, 5:14:20 PM (9 years ago)
Author:
cedric@…
Message:

support des modalbox inline via une ancre sur un id

Location:
_plugins_/mediabox
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/mediabox/javascript/spip.mediabox.js

    r41837 r41838  
    9090
    9191        // API modalbox
    92         $.modalbox = function (href, options) {$.fn.mediabox($.extend({href:href,overlayClose:true},options));};
     92        $.modalbox = function (href, options) {$.fn.mediabox($.extend({href:href,inline:href.match(/^#/),overlayClose:true},options));};
    9393        $.modalboxload = function (url, options) { $.modalbox(url,options); };
    9494        $.modalboxclose = $.mediaboxClose;
  • _plugins_/mediabox/plugin.xml

    r41837 r41838  
    1414_ setup as a SPIP plugin by [Cedric->http://www.yterium.com]</multi>
    1515        </auteur>
    16         <version>0.6.5</version>
     16        <version>0.6.6</version>
    1717        <icon>prive/themes/spip/images/mediabox-32.png</icon>
    1818        <etat>test</etat>
Note: See TracChangeset for help on using the changeset viewer.