jQuery 1.0.4 New Wave Javascript(js源文件)

2020-05-19 07:32:46易采站长站整理

                } else {
                    e = jQuery(e.cloneNode(true))
                        .find(“:radio”).removeAttr(“checked”).end()
                        .css({
                            visibility: “hidden”, position: “absolute”, display: “block”, right: “0”, left: “0”
                        }).appendTo(e.parentNode)[0];
                    var parPos = jQuery.css(e.parentNode,”position”);
                    if ( parPos == “” || parPos == “static” )
                        e.parentNode.style.position = “relative”;
                    oHeight = e.clientHeight;
                    oWidth = e.clientWidth;
                    if ( parPos == “” || parPos == “static” )
                        e.parentNode.style.position = “static”;
                    e.parentNode.removeChild(e);
                }
            });
            return p == “height” ? oHeight : oWidth;