Changeset 7931 for extensions/Autosize/js/Affiche_script.js
- Timestamp:
- Nov 29, 2010, 11:20:59 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/Autosize/js/Affiche_script.js
r7917 r7931 71 71 ); 72 72 73 return;74 if (fade_in==0 )75 {76 jQuery(Parent).css({77 opacity: 178 79 }80 )81 }else{82 jQuery(Parent).animate(83 { opacity: 1 }, fade_in , "swing"84 );85 }86 87 88 89 73 } 90 74 … … 129 113 nopano = false; 130 114 131 132 133 115 /* 134 116 * … … 150 132 Parent = "#theImage"; 151 133 Zone_Affichage = jQuery(Parent).infos(); 152 if (Zone_Affichage.width == 0)153 Parent = Parent + "Box";154 155 Parent = "#theImage";156 Zone_Affichage = jQuery(Parent).infos();157 134 // 158 135 var old_window = { width: 0, height: 0 }; … … 253 230 254 231 var Cadre = jQuery(Parent).get(0); 255 if (Cadre == null) {256 Parent = "#theImageBox";257 Cadre = jQuery(Parent).get(0);258 }259 260 232 var info_Cadre = jQuery(Cadre).infos(); 261 233 //=============== Information cadre ====== … … 299 271 //--------------------------------------------- 300 272 jQuery(Parent).width(winwidth); 301 // jQuery(Parent).height(Zone_Affichage.height); 273 jQuery(Parent).css({ height: "auto" }); 274 275 276 // jQuery(Parent).height(Zone_Affichage.height); 302 277 //--------------------------------------------- 303 278 … … 425 400 426 401 } 427 402 428 403 //=============== Vérification taille minimale autorizée ====================== 429 404 var miniWidth = jQuery(TheImg).Get_Val_int(jQuery(TheImg).css("min-width"), mini_width); … … 463 438 borderW = Zone_Affichage.borderwidth.left; 464 439 borderW += Zone_Affichage.borderwidth.right; 465 440 466 441 467 442 Zone_Affichage.width = winwidth - borderW; … … 500 475 //========================================================================== 501 476 h = 0; 502 Zone_Affichage.height -= (Zone_Affichage.margin.top + Zone_Affichage.margin.bottom); 477 478 Zone_Affichage.height -= (Zone_Affichage.padding.bottom + Zone_Affichage.padding.top + Zone_Affichage.margin.top + Zone_Affichage.margin.bottom); 503 479 Bandeau = Bandeau_t.bottom; 504 480 Zone_Affichage.height = winheight - Bandeau - Marge_Basse - correction; … … 699 675 700 676 701 jQuery(Cadre).width(Zone_Affichage.width );702 jQuery(Cadre).height(Zone_Affichage.height); 677 jQuery(Cadre).width(Zone_Affichage.width-4); 678 703 679 //============= Remise à l'échelle ======================= 704 680 … … 831 807 832 808 info_frame = Zone_Affichage; 809 h0 = jQuery(Cadre).outerHeight(true); 810 jQuery(Cadre).height(info_frame.height+5); 833 811 834 812 jQuery("#navThumbPrev").css({ overflow: "hidden" }); … … 895 873 jQuery("#Debug5").css({ background: "transparent", 896 874 border: "red solid 2px", 897 875 898 876 left: info_frame.left + "px", 899 877 width: info_frame.width + "px",
Note: See TracChangeset
for help on using the changeset viewer.