Ignore:
Timestamp:
Aug 5, 2011, 5:52:44 PM (13 years ago)
Author:
cljosse
Message:

[extensions] Autosize fix compatibility with click hd

File:
1 edited

Legend:

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

    r11442 r11912  
    407407
    408408           jQuery(Parent).width(winwidth);
    409            jQuery(Parent).height(winheight);
     409           //  jQuery(Parent).height(winheight);
    410410
    411411           var Cadre = jQuery(Parent).get(0);
     
    725725
    726726           h = (Zone_Affichage.padding.bottom + Zone_Affichage.padding.top + Zone_Affichage.margin.top + Zone_Affichage.margin.bottom);
    727            if (typeof Bandeau_t != "undefined") Bandeau = Bandeau_t.img_top;
     727
     728           if (typeof Bandeau_t != "undefined") Bandeau = Bandeau_t.img_top|0;
    728729           Zone_Affichage.height = winheight - Bandeau - Marge_Basse - correction - h;
    729730           //=========================================================================
     
    734735           //=========================================================================
    735736           if (typeof (Bandeau_bas) != "undefined") {           
    736              Zone_Affichage.height -= (Bandeau_bas.height + Bandeau_bas.marge.top + Bandeau_bas.marge.bottom);
     737              Zone_Affichage.height -= (Bandeau_bas.height + Bandeau_bas.marge.top|0 + Bandeau_bas.marge.bottom|0);
    737738                        } else {
    738739           }
     
    11561157           } else {
    11571158             if (pos_copyright.top > 100) {
    1158                jQuery("#the_page").height(pos_copyright.top);
     1159               // jQuery("#the_page").height(pos_copyright.top);
    11591160             }
    11601161           }
Note: See TracChangeset for help on using the changeset viewer.