亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? ext-all-debug.js

?? ext tree grid源碼2e xt tree grid源碼2
?? JS
?? 第 1 頁 / 共 5 頁
字號:
/*
 * Ext JS Library 2.0 RC 1
 * Copyright(c) 2006-2007, Ext JS, LLC.
 * licensing@extjs.com
 * 
 * http://extjs.com/license
 */


Ext.DomHelper = function(){
    var tempTableEl = null;
    var emptyTags = /^(?:br|frame|hr|img|input|link|meta|range|spacer|wbr|area|param|col)$/i;
    var tableRe = /^table|tbody|tr|td$/i;
    
        
    var createHtml = function(o){
        if(typeof o == 'string'){
            return o;
        }
        var b = "";
        if(!o.tag){
            o.tag = "div";
        }
        b += "<" + o.tag;
        for(var attr in o){
            if(attr == "tag" || attr == "children" || attr == "cn" || attr == "html" || typeof o[attr] == "function") continue;
            if(attr == "style"){
                var s = o["style"];
                if(typeof s == "function"){
                    s = s.call();
                }
                if(typeof s == "string"){
                    b += ' style="' + s + '"';
                }else if(typeof s == "object"){
                    b += ' style="';
                    for(var key in s){
                        if(typeof s[key] != "function"){
                            b += key + ":" + s[key] + ";";
                        }
                    }
                    b += '"';
                }
            }else{
                if(attr == "cls"){
                    b += ' class="' + o["cls"] + '"';
                }else if(attr == "htmlFor"){
                    b += ' for="' + o["htmlFor"] + '"';
                }else{
                    b += " " + attr + '="' + o[attr] + '"';
                }
            }
        }
        if(emptyTags.test(o.tag)){
            b += "/>";
        }else{
            b += ">";
            var cn = o.children || o.cn;
            if(cn){
                if(cn instanceof Array){
                    for(var i = 0, len = cn.length; i < len; i++) {
                        b += createHtml(cn[i], b);
                    }
                }else{
                    b += createHtml(cn, b);
                }
            }
            if(o.html){
                b += o.html;
            }
            b += "</" + o.tag + ">";
        }
        return b;
    };

        
    var createDom = function(o, parentNode){
        var el = document.createElement(o.tag||'div');
        var useSet = el.setAttribute ? true : false;         for(var attr in o){
            if(attr == "tag" || attr == "children" || attr == "cn" || attr == "html" || attr == "style" || typeof o[attr] == "function") continue;
            if(attr=="cls"){
                el.className = o["cls"];
            }else{
                if(useSet) el.setAttribute(attr, o[attr]);
                else el[attr] = o[attr];
            }
        }
        Ext.DomHelper.applyStyles(el, o.style);
        var cn = o.children || o.cn;
        if(cn){
            if(cn instanceof Array){
                for(var i = 0, len = cn.length; i < len; i++) {
                    createDom(cn[i], el);
                }
            }else{
                createDom(cn, el);
            }
        }
        if(o.html){
            el.innerHTML = o.html;
        }
        if(parentNode){
           parentNode.appendChild(el);
        }
        return el;
    };

    var ieTable = function(depth, s, h, e){
        tempTableEl.innerHTML = [s, h, e].join('');
        var i = -1, el = tempTableEl;
        while(++i < depth){
            el = el.firstChild;
        }
        return el;
    };

        var ts = '<table>',
        te = '</table>',
        tbs = ts+'<tbody>',
        tbe = '</tbody>'+te,
        trs = tbs + '<tr>',
        tre = '</tr>'+tbe;

    
    var insertIntoTable = function(tag, where, el, html){
        if(!tempTableEl){
            tempTableEl = document.createElement('div');
        }
        var node;
        var before = null;
        if(tag == 'td'){
            if(where == 'afterbegin' || where == 'beforeend'){                 return;
            }
            if(where == 'beforebegin'){
                before = el;
                el = el.parentNode;
            } else{
                before = el.nextSibling;
                el = el.parentNode;
            }
            node = ieTable(4, trs, html, tre);
        }
        else if(tag == 'tr'){
            if(where == 'beforebegin'){
                before = el;
                el = el.parentNode;
                node = ieTable(3, tbs, html, tbe);
            } else if(where == 'afterend'){
                before = el.nextSibling;
                el = el.parentNode;
                node = ieTable(3, tbs, html, tbe);
            } else{                 if(where == 'afterbegin'){
                    before = el.firstChild;
                }
                node = ieTable(4, trs, html, tre);
            }
        } else if(tag == 'tbody'){
            if(where == 'beforebegin'){
                before = el;
                el = el.parentNode;
                node = ieTable(2, ts, html, te);
            } else if(where == 'afterend'){
                before = el.nextSibling;
                el = el.parentNode;
                node = ieTable(2, ts, html, te);
            } else{
                if(where == 'afterbegin'){
                    before = el.firstChild;
                }
                node = ieTable(3, tbs, html, tbe);
            }
        } else{             if(where == 'beforebegin' || where == 'afterend'){                 return;
            }
            if(where == 'afterbegin'){
                before = el.firstChild;
            }
            node = ieTable(2, ts, html, te);
        }
        el.insertBefore(node, before);
        return node;
    };


    return {
    
    useDom : false,

    
    markup : function(o){
        return createHtml(o);
    },

    
    applyStyles : function(el, styles){
        if(styles){
           el = Ext.fly(el);
           if(typeof styles == "string"){
               var re = /\s?([a-z\-]*)\:\s?([^;]*);?/gi;
               var matches;
               while ((matches = re.exec(styles)) != null){
                   el.setStyle(matches[1], matches[2]);
               }
           }else if (typeof styles == "object"){
               for (var style in styles){
                  el.setStyle(style, styles[style]);
               }
           }else if (typeof styles == "function"){
                Ext.DomHelper.applyStyles(el, styles.call());
           }
        }
    },

    
    insertHtml : function(where, el, html){
        where = where.toLowerCase();
        if(el.insertAdjacentHTML){
            if(tableRe.test(el.tagName)){
                var rs;
                if(rs = insertIntoTable(el.tagName.toLowerCase(), where, el, html)){
                    return rs;
                }
            }
            switch(where){
                case "beforebegin":
                    el.insertAdjacentHTML('BeforeBegin', html);
                    return el.previousSibling;
                case "afterbegin":
                    el.insertAdjacentHTML('AfterBegin', html);
                    return el.firstChild;
                case "beforeend":
                    el.insertAdjacentHTML('BeforeEnd', html);
                    return el.lastChild;
                case "afterend":
                    el.insertAdjacentHTML('AfterEnd', html);
                    return el.nextSibling;
            }
            throw 'Illegal insertion point -> "' + where + '"';
        }
        var range = el.ownerDocument.createRange();
        var frag;
        switch(where){
             case "beforebegin":
                range.setStartBefore(el);
                frag = range.createContextualFragment(html);
                el.parentNode.insertBefore(frag, el);
                return el.previousSibling;
             case "afterbegin":
                if(el.firstChild){
                    range.setStartBefore(el.firstChild);
                    frag = range.createContextualFragment(html);
                    el.insertBefore(frag, el.firstChild);
                    return el.firstChild;
                }else{
                    el.innerHTML = html;
                    return el.firstChild;
                }
            case "beforeend":
                if(el.lastChild){
                    range.setStartAfter(el.lastChild);
                    frag = range.createContextualFragment(html);
                    el.appendChild(frag);
                    return el.lastChild;
                }else{
                    el.innerHTML = html;
                    return el.lastChild;
                }
            case "afterend":
                range.setStartAfter(el);
                frag = range.createContextualFragment(html);
                el.parentNode.insertBefore(frag, el.nextSibling);
                return el.nextSibling;
            }
            throw 'Illegal insertion point -> "' + where + '"';
    },

    
    insertBefore : function(el, o, returnElement){
        return this.doInsert(el, o, returnElement, "beforeBegin");
    },

    
    insertAfter : function(el, o, returnElement){
        return this.doInsert(el, o, returnElement, "afterEnd", "nextSibling");
    },

    
    insertFirst : function(el, o, returnElement){
        return this.doInsert(el, o, returnElement, "afterBegin", "firstChild");
    },

        doInsert : function(el, o, returnElement, pos, sibling){
        el = Ext.getDom(el);
        var newNode;
        if(this.useDom){
            newNode = createDom(o, null);
            (sibling === "firstChild" ? el : el.parentNode).insertBefore(newNode, sibling ? el[sibling] : el);
        }else{
            var html = createHtml(o);
            newNode = this.insertHtml(pos, el, html);
        }
        return returnElement ? Ext.get(newNode, true) : newNode;
    },

    
    append : function(el, o, returnElement){
        el = Ext.getDom(el);
        var newNode;
        if(this.useDom){
            newNode = createDom(o, null);
            el.appendChild(newNode);
        }else{
            var html = createHtml(o);
            newNode = this.insertHtml("beforeEnd", el, html);
        }
        return returnElement ? Ext.get(newNode, true) : newNode;
    },

    
    overwrite : function(el, o, returnElement){
        el = Ext.getDom(el);
        el.innerHTML = createHtml(o);
        return returnElement ? Ext.get(el.firstChild, true) : el.firstChild;
    },

    
    createTemplate : function(o){
        var html = createHtml(o);
        return new Ext.Template(html);
    }
    };
}();

Ext.Template = function(html){
    var a = arguments;
    if(html instanceof Array){
        html = html.join("");
    }else if(a.length > 1){
        var buf = [];
        for(var i = 0, len = a.length; i < len; i++){
            if(typeof a[i] == 'object'){
                Ext.apply(this, a[i]);
            }else{
                buf[buf.length] = a[i];
            }
        }
        html = buf.join('');
    }
    
    this.html = html;
    if(this.compiled){
        this.compile();   
    }
};
Ext.Template.prototype = {
    
    applyTemplate : function(values){
        if(this.compiled){
            return this.compiled(values);
        }
        var useF = this.disableFormats !== true;
        var fm = Ext.util.Format, tpl = this;
        var fn = function(m, name, format, args){
            if(format && useF){
                if(format.substr(0, 5) == "this."){
                    return tpl.call(format.substr(5), values[name], values);
                }else{
                    if(args){
                                                                                                var re = /^\s*['"](.*)["']\s*$/;
                        args = args.split(',');
                        for(var i = 0, len = args.length; i < len; i++){
                            args[i] = args[i].replace(re, "$1");
                        }
                        args = [values[name]].concat(args);
                    }else{
                        args = [values[name]];
                    }
                    return fm[format].apply(fm, args);
                }
            }else{
                return values[name] !== undefined ? values[name] : "";
            }
        };
        return this.html.replace(this.re, fn);
    },
    
    
    set : function(html, compile){
        this.html = html;
        this.compiled = null;
        if(compile){
            this.compile();
        }
        return this;
    },
    
    
    disableFormats : false,
    
    
    re : /\{([\w-]+)(?:\:([\w\.]*)(?:\((.*?)?\))?)?\}/g,
    
    
    compile : function(){
        var fm = Ext.util.Format;
        var useF = this.disableFormats !== true;
        var sep = Ext.isGecko ? "+" : ",";
        var fn = function(m, name, format, args){
            if(format && useF){
                args = args ? ',' + args : "";
                if(format.substr(0, 5) != "this."){
                    format = "fm." + format + '(';
                }else{
                    format = 'this.call("'+ format.substr(5) + '", ';
                    args = ", values";
                }
            }else{
                args= ''; format = "(values['" + name + "'] == undefined ? '' : ";
            }
            return "'"+ sep + format + "values['" + name + "']" + args + ")"+sep+"'";
        };
        var body;

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
日韩高清一级片| 亚洲国产成人在线| 日韩成人av影视| 91麻豆精品久久久久蜜臀| 丝袜美腿亚洲一区| 欧美一区二区三区公司| 激情综合色综合久久综合| 久久精品亚洲精品国产欧美kt∨ | 国产精品电影院| 91免费看`日韩一区二区| 亚洲在线观看免费| 日韩欧美国产电影| 国产a级毛片一区| 亚洲综合精品自拍| 日韩欧美一级特黄在线播放| 国产乱国产乱300精品| 中文字幕一区三区| 欧美日韩二区三区| 韩国午夜理伦三级不卡影院| 国产日产欧美精品一区二区三区| 成人黄色777网| 天天色综合成人网| 国产日韩精品一区二区三区在线| 色婷婷国产精品综合在线观看| 午夜精品一区在线观看| 久久精品人人做| 欧日韩精品视频| 国内精品嫩模私拍在线| 亚洲欧美成aⅴ人在线观看| 欧美高清视频在线高清观看mv色露露十八 | 欧美顶级少妇做爰| 成人丝袜视频网| 日韩国产欧美三级| 中文一区二区在线观看| 欧美精选午夜久久久乱码6080| 韩国一区二区视频| 午夜亚洲国产au精品一区二区| 欧美精品一区二区在线观看| 色先锋资源久久综合| 玖玖九九国产精品| 亚洲午夜激情网站| 国产精品嫩草影院av蜜臀| 日韩一区二区在线播放| 一本一道久久a久久精品| 国产伦精品一区二区三区免费迷| 一区二区三区四区在线播放| 欧美精品一区二区久久婷婷| 欧美日韩色综合| av亚洲精华国产精华精华| 久久er精品视频| 午夜精品免费在线| 专区另类欧美日韩| 久久精品亚洲国产奇米99| 51精品国自产在线| 欧美在线观看视频在线| 99久久久国产精品免费蜜臀| 国产麻豆视频一区| 美腿丝袜亚洲三区| 首页国产欧美日韩丝袜| 亚洲免费av观看| 一区精品在线播放| 国产清纯在线一区二区www| 日韩免费性生活视频播放| 欧美日韩国产中文| 欧美午夜精品一区| 在线精品视频免费播放| 99精品偷自拍| 97se亚洲国产综合自在线 | 国产农村妇女毛片精品久久麻豆| 日韩欧美aaaaaa| 日韩午夜激情免费电影| 欧美日韩国产成人在线91| 欧美在线免费视屏| 欧美日韩一区高清| 欧美三级韩国三级日本一级| 欧美三片在线视频观看| 欧美亚洲一区二区在线观看| 欧美亚洲综合久久| 欧美久久久久久久久中文字幕| 欧美日韩一本到| 欧美精品粉嫩高潮一区二区| 欧美三级日韩三级国产三级| 欧美老年两性高潮| 欧美一区在线视频| 日韩限制级电影在线观看| 91麻豆精品国产| 精品久久国产字幕高潮| 精品乱人伦小说| 久久婷婷久久一区二区三区| 国产色婷婷亚洲99精品小说| 中文字幕精品一区二区三区精品| 中文字幕精品一区二区精品绿巨人| 国产精品久久久久久妇女6080| 亚洲视频1区2区| 亚洲国产综合在线| 日本美女一区二区三区| 狠狠色丁香久久婷婷综合_中| 国产一区中文字幕| 国产不卡免费视频| 91豆麻精品91久久久久久| 欧美色综合网站| 欧美大肚乱孕交hd孕妇| 欧美激情艳妇裸体舞| 亚洲最大成人综合| 麻豆精品在线看| 国产成人免费视频网站 | 欧美精品高清视频| 久久免费电影网| 亚洲裸体在线观看| 欧美96一区二区免费视频| 国产福利精品一区二区| 在线中文字幕一区二区| 日韩欧美国产一区二区三区| 国产精品久久毛片a| 午夜电影一区二区| 成人毛片视频在线观看| 欧美色视频在线| 国产欧美va欧美不卡在线| 亚洲一区成人在线| 国产真实乱对白精彩久久| 日本韩国一区二区三区| 久久精品亚洲精品国产欧美| 亚洲国产精品一区二区尤物区| 黄色日韩网站视频| 欧洲生活片亚洲生活在线观看| 欧美zozo另类异族| 一区二区高清免费观看影视大全| 国产在线视频精品一区| 精品视频免费看| 国产精品国产精品国产专区不蜜| 人人狠狠综合久久亚洲| bt7086福利一区国产| 欧美r级在线观看| 亚洲一区二区视频| 风间由美一区二区三区在线观看 | 国产福利精品一区二区| 在线综合亚洲欧美在线视频| 亚洲女子a中天字幕| 国产精品一区二区在线观看网站| 欧美怡红院视频| 国产精品久久久久久久久图文区 | 午夜私人影院久久久久| 99精品桃花视频在线观看| 精品国产乱子伦一区| 亚洲成人免费电影| 99久久国产综合色|国产精品| 欧美精品一区二区在线观看| 日韩在线播放一区二区| 欧日韩精品视频| 亚洲精品国产品国语在线app| 国产精品亚洲人在线观看| 日韩女优毛片在线| 蜜臂av日日欢夜夜爽一区| 91国偷自产一区二区三区成为亚洲经典| 国产日韩精品一区| 国产在线精品不卡| 欧美电视剧免费全集观看| 天天亚洲美女在线视频| 欧美人牲a欧美精品| 亚洲成人在线网站| 欧美亚洲国产bt| 亚洲成人激情自拍| 欧美精品自拍偷拍动漫精品| 亚洲一区视频在线| 欧美三级一区二区| 性做久久久久久| 3atv在线一区二区三区| 五月天激情综合网| 欧美一区二区视频在线观看| 午夜视黄欧洲亚洲| 欧美精品第一页| 日本强好片久久久久久aaa| 欧美日韩国产综合视频在线观看| 午夜激情一区二区三区| 欧美精品1区2区| 日韩不卡一区二区三区| 精品日韩在线一区| 国产成人精品在线看| 国产丝袜美腿一区二区三区| bt7086福利一区国产| 亚洲综合激情小说| 91麻豆精品国产| 国产精品综合久久| 国产精品美女www爽爽爽| 色呦呦日韩精品| 日日夜夜一区二区| 精品国产青草久久久久福利| 国产毛片精品一区| 中文字幕在线不卡一区二区三区 | 91精品婷婷国产综合久久竹菊| 亚洲va韩国va欧美va精品| 日韩视频免费直播| 国产成人午夜99999| 日韩美女精品在线| 777午夜精品免费视频| 久久91精品国产91久久小草| 欧美国产综合一区二区| 精品视频色一区| 国产美女在线精品| 亚洲综合999|