Changeset 19156 for extensions/Autosize/js/Affiche_script.js
- Timestamp:
- Nov 24, 2012, 3:25:53 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/Autosize/js/Affiche_script.js
r19031 r19156 368 368 369 369 infos_theImage = jQuery(theImage_id).infos(true); // conteneur 370 371 370 if (options.pictureSelType != "Autosize" && options.pictureSelType != "SelMaxi") { 371 jQuery('#derivativeSwitchLink').show(); 372 } 372 373 if (test_theme("simple")) { 373 374 jQuery(theMainImage_id).css({ maxWidth: "none" }); … … 893 894 ***************************/ 894 895 Autosize_resize = function (force, parametres) { 896 895 897 nAuto = Get_dimensions(true, options); 896 898 897 899 Save_cookies(options); 898 900 if (!options.valide || nAuto == false || (options.pictureSelType != "Autosize" && options.pictureSelType != "SelMaxi")) { 901 if (options.imageAutosize == true) { 902 options.pictureSelType = options.pictureDeriv; 903 Zone_image.image_init.width = jQuery(theImg).width(); 904 Zone_image.image_init.height = jQuery(theImg).height(); 905 set_cl("no"); 906 Set_llbgo(true); 907 return; 908 } 899 909 jQuery(theImg).width(Zone_image.image_init.width); 900 910 jQuery(theImg).height(Zone_image.image_init.height); … … 2263 2273 2264 2274 2265 }); // ready2275 }); // ready 2266 2276 2267 2277
Note: See TracChangeset
for help on using the changeset viewer.