Ignore:
Timestamp:
May 6, 2011, 12:16:37 PM (13 years ago)
Author:
cljosse
Message:

[extensions] autosize compatiblity with gmaps(Version 1.3.0a)

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( ====
    22//===================================================
    33var detect = navigator.userAgent.toLowerCase();
    44//   $_SERVER['HTTP_USER_AGENT'] ;
    55var OS, version;
    6 
    7 //==============================================================================
     6//==============================================================================
    87browser = detect_browser();
    98function detect_browser() {
     
    1918        msie: false,
    2019        netscape: false,
    21         seamonkey: false 
     20        seamonkey: false
    2221    }
    2322    if (checkIt('konqueror')) { mybrowser.Konqueror = true; lbrowser = "konqueror"; OS = "Linux"; }
     
    5251
    5352/*
    54  
    5553*/
    5654konqueror = mybrowser.konqueror || false;
     
    6866function conflit(element, nc) {
    6967  if(typeof DEBUG != "boolean") DEBUG = false ;
    70     //--- cl_conflit 
     68    //--- cl_conflit
    7169    if (typeof MooTools == "undefined" && typeof Prototype == "undefined") {
    7270        ret_element = jQuery(element);
     
    181179          jQuery(".gmapsPopup").css("top", h1 + "px");
    182180        })
    183         //============================================================= 
     181        //=============================================================
    184182        //   jQuery(window).resize();
    185183      });
     
    347345    if (!isCallstackPopulated) { //IE and Safari
    348346        var currentFunction = arguments.callee.caller;
    349         //next 
     347        //next
    350348        callstack = [];
    351349        all_functions = [];
     
    391389            }
    392390            //======================
    393             //? bubble 
     391            //? bubble
    394392            Expression = new RegExp("\\$", "gi")
    395393            if (fn.match(Expression)) {
     
    456454    state = states.join('\n');
    457455    if (state == "") {
    458      
     456
    459457        if ( DEBUG == "true") {
    460458            Fn = all_functions.join('\n');
     
    503501                        else initializeImageMode("resize");
    504502                    };
    505                     //==== compatibilité Gally/LLGBO ===                 
     503                    //==== compatibilité Gally/LLGBO ===
    506504                    jQuery(Parent).css({ position: "static" });
    507505                }
     
    530528
    531529} else {}
    532     //-------------------------------------------------------------- 
     530    //--------------------------------------------------------------
    533531    $_0 = $;
    534532    function $(element, nc0) {
Note: See TracChangeset for help on using the changeset viewer.