Changeset 7915 for extensions/Autosize/js
- Timestamp:
- Nov 28, 2010, 6:07:01 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/Autosize/js/Affiche_script.js
r7884 r7915 4 4 // jQuery est chargé 5 5 } 6 try { 7 Autosize = { version: Version }; 8 } catch (e) { 9 10 } 6 11 7 function Toggle_bp() { 12 8 cl_visible = !cl_visible; … … 253 249 254 250 Parent = "#theImage"; 251 jQuery(Parent).width(winwidth); 252 jQuery(Parent).height(winheight); 253 255 254 var Cadre = jQuery(Parent).get(0); 256 255 if (Cadre == null) { … … 298 297 marge_left += Zone_Affichage.borderwidth.left; 299 298 winwidth -= (marge_right + marge_left); 299 //--------------------------------------------- 300 jQuery(Parent).width(winwidth); 301 jQuery(Parent).height(Zone_Affichage.height); 302 //--------------------------------------------- 303 300 304 if (Type_Img == "pamoorama") { 301 305 … … 421 425 422 426 } 423 427 424 428 //=============== Vérification taille minimale autorizée ====================== 425 429 var miniWidth = jQuery(TheImg).Get_Val_int(jQuery(TheImg).css("min-width"), mini_width); … … 434 438 435 439 img_reelle.width = parseInt(img_reelle.width); 436 437 440 438 441 if (img_reelle.width < mini_width) return true; … … 497 500 //========================================================================== 498 501 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); 500 503 Bandeau = Bandeau_t.bottom; 501 504 Zone_Affichage.height = winheight - Bandeau - Marge_Basse - correction; … … 892 895 jQuery("#Debug5").css({ background: "transparent", 893 896 border: "red solid 2px", 894 top: info_frame.top + "px",897 895 898 left: info_frame.left + "px", 896 899 width: info_frame.width + "px",
Note: See TracChangeset
for help on using the changeset viewer.