Changeset 8588 for extensions/Autosize/js/Affiche_script.js
- Timestamp:
- Jan 10, 2011, 4:58:04 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/Autosize/js/Affiche_script.js
r8536 r8588 247 247 248 248 var Cadre = jQuery(Parent).get(0); 249 var info_ Cadre = jQuery(Cadre).infos();249 var info_theImage = jQuery(Cadre).infos(); 250 250 //=============== Information cadre ====== 251 251 var info_the_page = jQuery("#the_page").infos(); … … 331 331 img_reelle.height = info_img.height; 332 332 info_map = jQuery("#mapPicture").infos(); 333 marge_left = info_map.width; 334 jQuery("#map").css("left", marge_left + "px"); 335 333 jQuery("#map").css("left", info_map.width + "px"); 336 334 Bandeau_bas.height = 10; 337 marge_right = 10; 338 img_reelle.width = winwidth - marge_left - marge_right; 335 336 if (theme.match(RegExp("simple", "g"))) { 337 img_reelle.width = winwidth; //- info_map.width -marge_right; 338 } else { 339 img_reelle.width = winwidth - info_map.width -marge_right; 340 } 341 342 339 343 info_the_page = jQuery("#the_page").infos(); 344 winwidth = img_reelle.width; 345 340 346 ; 341 347 … … 820 826 jQuery("#navThumbPrev").css({ overflow: "hidden" }); 821 827 jQuery("#navThumbNext").css({ overflow: "hidden" }); 828 n = typeof inittoolbar; 829 822 830 try { 823 831 if (theme.match(RegExp("gally", "gi"))) { 824 832 if (typeof inittoolbar == "function") { 833 if (typeof (currentTab) == "undefined") inittoolbar(); 834 else initializeImageMode("resize"); 835 } 825 836 //=========================================================================== 826 initializeImageMode("resize"); 837 827 838 if (jQuery("#navThumbPrev").length > 0) { 828 839 jQuery("#navThumbPrev").css({ height: info_img.height + "px", … … 840 851 if (Type_Img == "map") 841 852 jQuery("#navThumbNextContainer").css({ background: 'none' }); 842 843 844 845 if (!theme.match(RegExp("lapis", "gi"))) { initializeImageMode("resize"); } 853 if (!theme.match(RegExp("lapis", "gi"))) { 854 initializeImageMode("resize"); 855 } 856 846 857 } else if (theme.match(RegExp("simple", "g"))) { 847 858 848 859 jQuery("#imageToolBar").css({ position: "static" }); 849 860 850 861 info_imageInfoBar = jQuery("#imageInfoBar").infos(); 851 862 if (info_imageInfoBar.bottom < info_img.bottom) { 852 // jQuery("#imageInfoBar").height(info_img.bottom);863 // jQuery("#imageInfoBar").height(info_img.bottom); 853 864 } 854 865
Note: See TracChangeset
for help on using the changeset viewer.