Changeset 18726 for extensions/Autosize/js
- Timestamp:
- Oct 23, 2012, 3:26:03 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/Autosize/js/Affiche_script.js
r18725 r18726 930 930 jQuery(theMainImage_id).height(Zone_image.image.height); 931 931 jQuery(theMainImage_id).width(Zone_image.image.width); 932 932 933 } else { 933 934 jQuery(theMainImage_id).height(Zone_image.image.height); 934 935 jQuery(theMainImage_id).width(Zone_image.image.width); 935 936 } 936 937 if (Type_Img == "charlie") { 938 swfobj = jQuery("#theMainImage").infos({ absolute: true }); 939 940 jQuery("#theMainImage_obj").attr({height: Zone_image.image.height,width:Zone_image.image.width-50}); 941 jQuery("#theMainImage_emb").attr({ height: Zone_image.image.height, width: Zone_image.image.width }); 942 943 } 937 944 938 945 … … 1218 1225 jQuery("#map").removeAttr("width"); 1219 1226 jQuery("#map").width(infos_theImage.width - (infos_mapPicture.width)); 1220 jQuery("#map").height(jQuery(window).height() -infos_theImage.top-infos_theImage.general.marges.height);1227 jQuery("#map").height(jQuery(window).height() - infos_theImage.top - infos_theImage.general.marges.height); 1221 1228 return true; 1222 1229 } … … 1666 1673 if (chk == "") { return; } 1667 1674 1668 if (Type_Img == "img")1675 if (Type_Img != "map") 1669 1676 Select_Image(); 1670 1677 infos_theMainImage = jQuery(theMainImage_id).infos({ absolute: true }); … … 2138 2145 2139 2146 2140 }); // ready2147 }); // ready 2141 2148 2142 2149
Note: See TracChangeset
for help on using the changeset viewer.