Changeset 11066
- Timestamp:
- May 26, 2011, 3:56:13 PM (14 years ago)
- Location:
- extensions/Autosize
- Files:
-
- 2 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; -
extensions/Autosize/template/header_2_2.tpl
r10913 r11066 3 3 <script id="pamoorama0.3" src="plugins/paMOOramics/js/pamoorama0.3.js" type="text/jscript"></script> 4 4 <script id="mootools" src="plugins/paMOOramics/js/mootools.js" type="text/jscript"></script> 5 6 7 {else}{/if}{combine_script id="conflit_script0" load="header" path = $AUTOSIZE_PATH|@cat:"js/conflit_2.js" 8 require="jquery" } 5 {else} 6 {/if} 7 {* au ou jquery non défini *} 8 {combine_script id="jquery" load="header" path = "themes/default/js/jquery.min.js"} 9 {combine_script id="conflit_script0" load="header" path = $AUTOSIZE_PATH|@cat:"js/conflit_2.js" require="jquery" } 9 10 {combine_script id="conflit_script" path = $AUTOSIZE_PATH|@cat:"js/conflit.js" require="jquery" } 10 11 {combine_script id="jquery.cluetip" path = "themes/default/js/plugins/jquery.cluetip.js" require="jquery" } 11 {combine_script id="autosize.dimensions" path = $AUTOSIZE_PATH|@cat:"js/autosize.dimensions.js" require="jquery "}12 {combine_script id="autosize.cookie" path = $AUTOSIZE_PATH|@cat:"js/autosize.cookie.js" require="jquery "}12 {combine_script id="autosize.dimensions" path = $AUTOSIZE_PATH|@cat:"js/autosize.dimensions.js" require="jquery,conflit_script0"} 13 {combine_script id="autosize.cookie" path = $AUTOSIZE_PATH|@cat:"js/autosize.cookie.js" require="jquery,conflit_script0"} 13 14 14 15
Note: See TracChangeset
for help on using the changeset viewer.