WebRoot/images/syscome.files/mhsearch.js

(开头部分) 8KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

    function mSift_SeekTp(oObj, nDire) {  
        var nPosition = null;  
        if (oObj.getBoundingClientRect && !document.all) {  
            var oDc = document.documentElement;  
            switch (nDire) {  
            case 0:  
                return oObj.getBoundingClientRect().top + oDc.scrollTop;  
            case 1:  
                return oObj.getBoundingClientRect().right + oDc.scrollLeft;  
            case 2:  
                return oObj.getBoundingClientRect().bottom + oDc.scrollTop;  
            case 3:  
                return oObj.getBoundingClientRect().left + oDc.scrollLeft;  
            }  
        } else {  
            if (nDire == 1 || nDire == 3) {  
                nPosition = oObj.offsetLeft;  
            } else {  
                nPosition = oObj.offsetTop;  
            }  
            if (arguments[arguments.length - 1] != 0) {  
                if (nDire == 1) {  
                    nPosition += oObj.offsetWidth;  
                } else if (nDire == 2) {  
                    nPosition += oObj.offsetHeight;  
                }  
            }  
            if (oObj.offsetParent != null) {  
                nPosition += mSift_SeekTp(oObj.offsetParent, nDire, 0);  
            }  
            return nPosition;  
        }  
    }  
    function mSift(cVarName, nMax) {  
        this.oo = cVarName;  
        this.Max = nMax;  
    }  
    mSift.prototype = {  
        Varsion : 'v2010.10.29 by AngusYoung | mrxcool.com',  
        Target : Object,  
        TgList : Object,  
        Listeners : null,  
        SelIndex : 0,  
        Data : [],  
        ReData : [],  
        Create : function(oObj) {  
            var _this = this;  
            var oUL = document.createElement('ul');  
            oUL.style.display = 'none';  
            oObj.parentNode.insertBefore(oUL, oObj);  
            _this.TgList = oUL;  
            oObj.onkeydown = oObj.onclick = function(e) {  
                _this.Listen(this, e);  
            };  
            oObj.onblur = function() {  
                setTimeout(function() {  
                    _this.Clear();  
                }, 100);  
            };  
        },  
后面还有 135 行代码,购买后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。