Changeset 10561 for extensions
- Timestamp:
- Apr 22, 2011, 11:55:02 AM (13 years ago)
- Location:
- extensions/Autosize
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/Autosize/autosize.inc.php
r10347 r10561 71 71 'AUTOSIZE_PATH' => str_replace("../","",AUTOSIZE_PATH) , 72 72 'AUTOSIZE_PATH_ABS' => AUTOSIZE_PATH_ABS, 73 'Version_pwg' => PHPWG_VERSION 73 74 ) 74 75 ); -
extensions/Autosize/js/Affiche_script.js
r10308 r10561 1 2 if (typeof (randomPictOpt) == "undefined") {3 var randomPictOpt = {4 fixedHeight: 100,5 delay: 10050,6 showName: "n",7 showComment: "n",8 pictures: [9 {10 'comment': '',11 'link': "",12 'name': '',13 'thumb': ""14 }15 ]16 };17 }18 1 19 2 … … 643 626 644 627 img_reelle.width = parseInt(img_reelle.width); 645 646 if (img_reelle.width < mini_width) return true; 628 jQuery(Cadre).width(mini_width); 629 if (img_reelle.width < mini_width) { 630 jQuery(Cadre).width(mini_width); 631 return true; 632 633 } 647 634 648 635 img_reelle.height = parseInt(img_reelle.height); … … 902 889 } 903 890 //=== cadre = theImage 904 jQuery(Cadre).css({ marginLeft: "auto" });891 jQuery(Cadre).css({ marginLeft: "auto" }); 905 892 // jQuery(Cadre).width(Zone_Affichage.width); 906 893 jQuery(Cadre).css("width", "auto"); … … 1067 1054 1068 1055 } 1069 1056 //jQuery("#gbo").width(); 1057 jQuery(Cadre).width(img_finale.width + marges_llgbo); 1070 1058 1071 1059 if (!theme.match(RegExp("lapis", "gi"))) { -
extensions/Autosize/js/conflit.js
r10308 r10561 67 67 var Fn; 68 68 function conflit(element, nc) { 69 if(typeof DEBUG != "boolean") DEBUG = false ; 69 70 //--- cl_conflit 70 71 if (typeof MooTools == "undefined" && typeof Prototype == "undefined") { … … 164 165 jQuery(document).ready( 165 166 function (jQuery) { 166 jQuery(window).load(function () { 167 //============================================================ 168 jQuery("#icon_gmaps").bind('click', function () { 169 170 jQuery('html,body').stop().scrollTop(0); 171 jQuery('html,body').stop().scrollLeft(0); 172 jQuery(".ui-widget-overlay").css("opacity", "0.75"); 173 174 l1 = (jQuery(window).width() - (jQuery(".gmapsPopup").width())) / 2; 175 h1 = (jQuery(window).height() - (jQuery(".gmapsPopup").height())) / 2; 176 177 jQuery(".gmapsPopup").css("left", l1 + "px"); 178 jQuery(".gmapsPopup").css("top", h1 + "px"); 179 }) 180 //============================================================= 181 // jQuery(window).resize(); 182 }); 183 // $ = _$2; ; 167 jQuery(window).load(function () { 168 //============================================================ 169 jQuery("#icon_gmaps").bind('click', function () { 170 //jQuery("#iGMapsIconContent").dialog("open"); 171 if (Version_pwg > '2.2.0' ) 172 return; 173 jQuery('html,body').stop().scrollTop(0); 174 jQuery('html,body').stop().scrollLeft(0); 175 jQuery(".ui-widget-overlay").css("opacity", "0.75"); 176 177 l1 = (jQuery(window).width() - (jQuery(".gmapsPopup").width())) / 2; 178 h1 = (jQuery(window).height() - (jQuery(".gmapsPopup").height())) / 2; 179 180 jQuery(".gmapsPopup").css("left", l1 + "px"); 181 jQuery(".gmapsPopup").css("top", h1 + "px"); 182 }) 183 //============================================================= 184 // jQuery(window).resize(); 185 }); 186 // $ = _$2; ; 184 187 }); 185 188 //========================================================= … … 453 456 state = states.join('\n'); 454 457 if (state == "") { 455 456 if ( DEBUG == "true") {458 459 if ( DEBUG == "true") { 457 460 Fn = all_functions.join('\n'); 458 461 try { -
extensions/Autosize/template/conflit.tpl
r8957 r10561 5 5 var cl_version = '{$cl_version}'; 6 6 var cl_plugin = '{$name}'; 7 var Version_pwg='{$Version_pwg}'; 7 8 {if $DEBUG == "true"} 8 9 var cl_query = '{$autosize_parametres->query}';
Note: See TracChangeset
for help on using the changeset viewer.