Ignore:
Timestamp:
Apr 22, 2011, 11:55:02 AM (13 years ago)
Author:
cljosse
Message:

[extensions] autosize compatiblity with gmaps(Version 1.3.0a)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/Autosize/js/Affiche_script.js

    r10308 r10561  
    1 
    2 if (typeof (randomPictOpt) == "undefined") {
    3   var randomPictOpt = {
    4     fixedHeight: 100,
    5     delay: 10050,
    6     showName: "n",
    7     showComment: "n",
    8     pictures: [
    9           {
    10             'comment': '',
    11             'link': "",
    12             'name': '',
    13             'thumb': ""
    14           }         
    15                 ]
    16   };
    17 }
    181
    192
     
    643626
    644627           img_reelle.width = parseInt(img_reelle.width);
    645 
    646            if (img_reelle.width < mini_width) return true;
     628           jQuery(Cadre).width(mini_width);
     629           if (img_reelle.width < mini_width) {
     630             jQuery(Cadre).width(mini_width);
     631             return true;
     632
     633           }
    647634
    648635           img_reelle.height = parseInt(img_reelle.height);
     
    902889           }
    903890           //=== cadre = theImage
    904            jQuery(Cadre).css({ marginLeft: "auto"});
     891           jQuery(Cadre).css({ marginLeft: "auto" });
    905892           // jQuery(Cadre).width(Zone_Affichage.width);
    906893           jQuery(Cadre).css("width", "auto");
     
    10671054
    10681055               }
    1069 
     1056               //jQuery("#gbo").width();
     1057               jQuery(Cadre).width(img_finale.width + marges_llgbo);
    10701058
    10711059               if (!theme.match(RegExp("lapis", "gi"))) {
Note: See TracChangeset for help on using the changeset viewer.