Changeset 7875


Ignore:
Timestamp:
Nov 25, 2010, 5:51:39 PM (13 years ago)
Author:
cljosse
Message:

[Autosize][beta] fix compatiblity with theme stripped.

File:
1 edited

Legend:

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

    r7874 r7875  
    261261                 //===============  Information cadre ======
    262262                 var info_the_page = jQuery("#the_page").infos();
    263 
    264263                 //=============================================================================
    265264                 var info_HeaderBar = jQuery("#imageHeaderBar").infos();
    266 
    267265                 var info_content = jQuery("#content").infos();
    268 
    269 
    270266                 var info_titrePage = jQuery("#titrePage").infos();
    271 
    272 
    273 
    274 
    275 
    276267                 var info_imageInfoBar = jQuery("#imageInfoBar").infos();
    277268                 var info_theHeader = jQuery("#theHeader").infos();
     
    505496                 //==========================================================================
    506497                 h = 0;
    507 
     498                 Zone_Affichage.height -= (Zone_Affichage.margin.top+Zone_Affichage.margin.bottom);
    508499                 Bandeau = Bandeau_t.bottom;
    509500                 Zone_Affichage.height = winheight - Bandeau - Marge_Basse - correction;
     
    702693                 jQuery("#standard").css("top", 0 + "px");
    703694                 jQuery("#comments").css("top", 0 + "px");
    704  
     695
    705696
    706697                 jQuery(Cadre).width(Zone_Affichage.width);
     
    824815                     jQuery(TheImg).height(img_finale.height);
    825816                     jQuery(TheImg).width(img_finale.width);
    826                      jQuery(TheImg).css("height", img_finale.height + "px ");
    827                      jQuery(TheImg).css("width", img_finale.width + "px ");
     817                     jQuery(TheImg).css({ height: img_finale.height + "px ", width: img_finale.width + "px " });
     818
    828819
    829820                 } else {
     
    831822                     jQuery(TheImg).height(img_finale.height);
    832823                     jQuery(TheImg).width(img_finale.width);
    833                      jQuery(TheImg).css("height", img_finale.height + "px ");
    834                      jQuery(TheImg).css("width", img_finale.width + "px ");
     824                     jQuery(TheImg).css({ height: img_finale.height + "px ", width: img_finale.width + "px " });
    835825
    836826                 }
     
    900890                     //  jQuery("#Debug3").css({ top: info_Cadre.top + "px", height: info_Cadre.height + "px" }); //blue
    901891                     jQuery("#Debug5").css({ background: "transparent",
    902                      border:"red solid 2px",
     892                         border: "red solid 2px",
    903893                         top: info_frame.top + "px",
    904894                         left: info_frame.left + "px",
    905895                         width: info_frame.width + "px",
    906896                         height: info_frame.height + "px"
    907                          }); //red
     897                     }); //red
    908898                     jQuery("#Debug4").css({ top: info_frame.bottom - info_description.height + "px" }); //green
    909899                 }
Note: See TracChangeset for help on using the changeset viewer.