Changeset 11066 for extensions/Autosize/js
- Timestamp:
- May 26, 2011, 3:56:13 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/Autosize/js/Affiche_script.js
r10913 r11066 372 372 newResize: function () { 373 373 // 374 //if (options.imageAutosize) return true ;stripped 374 if (typeof options != undefined) 375 if (options.imageAutosize) 376 return true; //stripped 375 377 if (DEBUG_autosize == "true") { 376 378 nu_img += 1; … … 440 442 441 443 marge = (info_the_page.width - info_HeaderBar.width) / 2; 442 marge_right = marge ;443 marge_left = marge ;444 marge_right = marge + 2; 445 marge_left = marge + 2; 444 446 } else if (info_ToolBar.width > 0) { 445 447 marge = (info_the_page.width - info_ToolBar.width) / 2; … … 1036 1038 jQuery("#navThumbNext").css({ display: 'none' }); 1037 1039 jQuery("#navThumbPrev").css({ display: 'none' }); 1038 jQuery("#theImage").css({ marginTop: info_ToolBar.height +"px", marginLeft: "0px",1039 width: winwidth +"px",1040 jQuery("#theImage").css({ marginTop: info_ToolBar.height + "px", marginLeft: "0px", 1041 width: winwidth + "px", 1040 1042 height: winheight + "px" 1041 1043 }); … … 1113 1115 pos = "absolute"; 1114 1116 info_theImageBox = jQuery("#theImageAndTitle").infos(); 1117 p1 = jQuery(".randomButtons").infos(); 1118 p2=jQuery("#imageHeaderBar").infos(); 1119 jQuery("#theImage").width("width", info_theImageBox.width + "px"); 1120 jQuery("#theImageAndTitle").css("position", "relative"); 1121 jQuery("#theImageAndTitle").css({marginTop: "0px", 1122 paddingTop: (p1.top) + "px" 1123 }); 1115 1124 t1 = info_theImageBox.top; 1116 1125 l1 = info_theImageBox.left;
Note: See TracChangeset
for help on using the changeset viewer.