Changeset 10561 for extensions/Autosize/js/conflit.js
- Timestamp:
- Apr 22, 2011, 11:55:02 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
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 {
Note: See TracChangeset
for help on using the changeset viewer.