Changeset 10787 for extensions/Autosize/js/conflit.js
- Timestamp:
- May 6, 2011, 12:16:37 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/Autosize/js/conflit.js
r10561 r10787 1 //==== cl_conflit remplace $(... avec jQuery( ====1 //==== cl_conflit remplace $(... avec jQuery( ==== 2 2 //=================================================== 3 3 var detect = navigator.userAgent.toLowerCase(); 4 4 // $_SERVER['HTTP_USER_AGENT'] ; 5 5 var OS, version; 6 7 //============================================================================== 6 //============================================================================== 8 7 browser = detect_browser(); 9 8 function detect_browser() { … … 19 18 msie: false, 20 19 netscape: false, 21 seamonkey: false 20 seamonkey: false 22 21 } 23 22 if (checkIt('konqueror')) { mybrowser.Konqueror = true; lbrowser = "konqueror"; OS = "Linux"; } … … 52 51 53 52 /* 54 55 53 */ 56 54 konqueror = mybrowser.konqueror || false; … … 68 66 function conflit(element, nc) { 69 67 if(typeof DEBUG != "boolean") DEBUG = false ; 70 //--- cl_conflit 68 //--- cl_conflit 71 69 if (typeof MooTools == "undefined" && typeof Prototype == "undefined") { 72 70 ret_element = jQuery(element); … … 181 179 jQuery(".gmapsPopup").css("top", h1 + "px"); 182 180 }) 183 //============================================================= 181 //============================================================= 184 182 // jQuery(window).resize(); 185 183 }); … … 347 345 if (!isCallstackPopulated) { //IE and Safari 348 346 var currentFunction = arguments.callee.caller; 349 //next 347 //next 350 348 callstack = []; 351 349 all_functions = []; … … 391 389 } 392 390 //====================== 393 //? bubble 391 //? bubble 394 392 Expression = new RegExp("\\$", "gi") 395 393 if (fn.match(Expression)) { … … 456 454 state = states.join('\n'); 457 455 if (state == "") { 458 456 459 457 if ( DEBUG == "true") { 460 458 Fn = all_functions.join('\n'); … … 503 501 else initializeImageMode("resize"); 504 502 }; 505 //==== compatibilité Gally/LLGBO === 503 //==== compatibilité Gally/LLGBO === 506 504 jQuery(Parent).css({ position: "static" }); 507 505 } … … 530 528 531 529 } else {} 532 //-------------------------------------------------------------- 530 //-------------------------------------------------------------- 533 531 $_0 = $; 534 532 function $(element, nc0) {
Note: See TracChangeset
for help on using the changeset viewer.