Changeset 7910


Ignore:
Timestamp:
Nov 28, 2010, 3:23:06 PM (13 years ago)
Author:
cljosse
Message:

[cl_conflit] fcompatibility outerWidth(true) jquery1.4.1 jquery1.4.3

Location:
extensions/cl_conflit
Files:
1 deleted
3 edited

Legend:

Unmodified
Added
Removed
  • extensions/cl_conflit/js/conflit.js

    r7903 r7910  
    181181            p0 = jQuery(Parent);
    182182            if (p0.length > 0) {   
     183
    183184                //======================================================
    184185                if (theme.match("gally", "gi"))
  • extensions/cl_conflit/js/jquery.dimensions.js

    r7904 r7910  
    1414*/
    1515(function (jQuery) {
    16     jQuery.dimensions = { cl_version: '1.3' };
     16    jQuery.dimensions = { cl_dimensions_version: '1.3' };
    1717    /*
    1818    * Interception Height, Width
     
    3131                    var torl = name == 'Height' ? 'Top' : 'Left',
    3232                        borr = name == 'Height' ? 'Bottom' : 'Right';
    33                     options = jQuery.extend({ margin: false },
    34                                                 options || {});
     33                    options = options || false;
     34                    options = jQuery.extend({ margin: options } );
     35
    3536                    var val = this.is(':visible') ? this[0]['offset' + name] :
    3637                        num(this,
     
    3940                        num(this, 'border' + borr + 'Width') +
    4041                        num(this, 'padding' + torl) +
    41                         num(this, 'padding' + borr);
     42                        num(this, 'padding' + borr)
     43
     44                        ;
    4245                    return val + (options.margin ? (num(this, 'margin' + torl) + num(this, 'margin' + borr)) : 0);
    4346                };
  • extensions/cl_conflit/main.inc.php

    r7905 r7910  
    22/*
    33Plugin Name: cl_conflit
    4 Version: 1.0.1
     4Version: 1.0.2
    55Description: gestion des conflits entre jQuery et les autres librairies
    66Plugin URI: http://piwigo.org/ext/extension_view.php?eid=474
Note: See TracChangeset for help on using the changeset viewer.