Changeset 7915


Ignore:
Timestamp:
Nov 28, 2010, 6:07:01 PM (13 years ago)
Author:
cljosse
Message:

[Autosize][beta] setup cl_conflit

File:
1 edited

Legend:

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

    r7884 r7915  
    44    // jQuery est chargé
    55}
    6 try {
    7     Autosize = { version: Version };
    8 } catch (e) {
    9 
    10 }
     6
    117function Toggle_bp() {
    128    cl_visible = !cl_visible;
     
    253249
    254250                 Parent = "#theImage";
     251                 jQuery(Parent).width(winwidth);
     252                 jQuery(Parent).height(winheight);
     253
    255254                 var Cadre = jQuery(Parent).get(0);
    256255                 if (Cadre == null) {
     
    298297                 marge_left += Zone_Affichage.borderwidth.left;
    299298                 winwidth -= (marge_right + marge_left);
     299                 //---------------------------------------------
     300                 jQuery(Parent).width(winwidth);
     301                 jQuery(Parent).height(Zone_Affichage.height);
     302                 //---------------------------------------------
     303
    300304                 if (Type_Img == "pamoorama") {
    301305
     
    421425
    422426                 }
    423 
     427               
    424428                 //=============== Vérification taille minimale  autorizée ======================
    425429                 var miniWidth = jQuery(TheImg).Get_Val_int(jQuery(TheImg).css("min-width"), mini_width);
     
    434438
    435439                 img_reelle.width = parseInt(img_reelle.width);
    436 
    437440
    438441                 if (img_reelle.width < mini_width) return true;
     
    497500                 //==========================================================================
    498501                 h = 0;
    499                  Zone_Affichage.height -= (Zone_Affichage.margin.top+Zone_Affichage.margin.bottom);
     502                 Zone_Affichage.height -= (Zone_Affichage.margin.top + Zone_Affichage.margin.bottom);
    500503                 Bandeau = Bandeau_t.bottom;
    501504                 Zone_Affichage.height = winheight - Bandeau - Marge_Basse - correction;
     
    892895                     jQuery("#Debug5").css({ background: "transparent",
    893896                         border: "red solid 2px",
    894                          top: info_frame.top + "px",
     897                       
    895898                         left: info_frame.left + "px",
    896899                         width: info_frame.width + "px",
Note: See TracChangeset for help on using the changeset viewer.