jQuery 1.0.2

2020-05-23 06:10:44易采站长站整理

                    this.returnValue = false;
                };
                event.stopPropagation = function() {
                    this.cancelBubble = true;
                };
            }
            return event;
        }
    }
});
new function() {
    var b = navigator.userAgent.toLowerCase();
    // Figure out what browser is being used
    jQuery.browser = {
        safari: /webkit/.test(b),
        opera: /opera/.test(b),
        msie: /msie/.test(b) && !/opera/.test(b),
        mozilla: /mozilla/.test(b) && !/(compatible|webkit)/.test(b)
    };
    // Check to see if the W3C box model is being used
    jQuery.boxModel = !jQuery.browser.msie || document.compatMode == “CSS1Compat”;
};
jQuery.macros = {
    to: {
        appendTo: “append”,
        prependTo: “prepend”,
        insertBefore: “before”,
        insertAfter: “after”
    },
    css: “width,height,top,left,position,float,overflow,color,background”.split(“,”),
    filter: [ “eq”, “lt”, “gt”, “contains” ],
    attr: {
        val: “value”,
        html: “innerHTML”,
        id: null,
        title: null,