<span id="mktg5"></span>

<i id="mktg5"><meter id="mktg5"></meter></i>

        <label id="mktg5"><meter id="mktg5"></meter></label>
        最新文章專題視頻專題問答1問答10問答100問答1000問答2000關鍵字專題1關鍵字專題50關鍵字專題500關鍵字專題1500TAG最新視頻文章推薦1 推薦3 推薦5 推薦7 推薦9 推薦11 推薦13 推薦15 推薦17 推薦19 推薦21 推薦23 推薦25 推薦27 推薦29 推薦31 推薦33 推薦35 推薦37視頻文章20視頻文章30視頻文章40視頻文章50視頻文章60 視頻文章70視頻文章80視頻文章90視頻文章100視頻文章120視頻文章140 視頻2關鍵字專題關鍵字專題tag2tag3文章專題文章專題2文章索引1文章索引2文章索引3文章索引4文章索引5123456789101112131415文章專題3
        問答文章1 問答文章501 問答文章1001 問答文章1501 問答文章2001 問答文章2501 問答文章3001 問答文章3501 問答文章4001 問答文章4501 問答文章5001 問答文章5501 問答文章6001 問答文章6501 問答文章7001 問答文章7501 問答文章8001 問答文章8501 問答文章9001 問答文章9501
        當前位置: 首頁 - 科技 - 知識百科 - 正文

        EXT富客戶端后臺管理系統初步代碼_YUI.Ext相關

        來源:懂視網 責編:小采 時間:2020-11-27 20:39:58
        文檔

        EXT富客戶端后臺管理系統初步代碼_YUI.Ext相關

        EXT富客戶端后臺管理系統初步代碼_YUI.Ext相關:EXT富客戶端后臺管理系統 初步代碼提供給大家<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <h
        推薦度:
        導讀EXT富客戶端后臺管理系統初步代碼_YUI.Ext相關:EXT富客戶端后臺管理系統 初步代碼提供給大家<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <h

        EXT富客戶端后臺管理系統 初步代碼提供給大家

        <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
        <html>
        <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title><%$sitename%></title>
        <%*加載的Extjs 資源文件 -- 開始*%>
        <link rel="stylesheet" type="text/css" href="<%$extjs_res%>" />
        <script type="text/javascript" src="<%$extjs_adapter%>"></script>
        <script type="text/javascript" src="<%$extjs_laction%>"></script>
        <%*加載的Extjs 資源文件 -- 結束*%>
        <%*執行塊的JS區域 -- 開始*%>
        <script type="text/javascript">
        //具體開發 -- BJExtreme類
        BJExtreme= function(){} ;
        BJExtreme.prototype.getAuthor = function(){
        return '許消寒' ;
        }
        BJExtreme.prototype.getVersion = function(){
        return '2008年08月13日 17:00' ;
        }
        BJExtreme.prototype.getController = function(){
        return 'index.php' ;
        }
        BJExtreme.prototype.buildLinkStr = function(ctl,act){
        if (ctl == undefined)
        return BJExtreme.prototype.getController() ;
        if (act == undefined)
        act = null ;
        return BJExtreme.prototype.getController() + '?ctl=' + ctl + '&act=' + act ;
        }
        BJExtreme.prototype.showWindow = function(title1,width1,height1,html1){
        if (this.win == undefined){
        this.win = new Ext.Window({
        title: title1,
        width: width1 ,
        height: height1 ,
        html: html1
        });
        }
        else {
        this.win.close();
        this.win = new Ext.Window({
        title: title1,
        width: width1 ,
        height: height1 ,
        html: html1
        });
        }
        this.win.show();
        }
        /*對出現的UI組件單獨封裝*/
        BJExtreme.prototype.ui = function(){} ;
        BJExtreme.prototype.ui.mainTopic = {
        title: 'Beijing Extreme 后臺管理', region: 'north' ,
        html: '<embed src="<%$prj_dir%>/swf/top_title.swf" quality="high" type="application/x-shockwave-flash" width="450" height="50"></embed>'
        };
        /*左側菜單項操作 -- 開始*/
        //定義初始話狀態時的菜單條對象
        BJExtreme.prototype.ui.menuBar = {
        xtype: 'treepanel' ,
        title: '菜單',region: 'west',width: 200 ,collapsible: true ,
        loader: null , root: null ,rootVisible: true , listeners: null
        };
        //旅游相關
        BJExtreme.prototype.ui.menuBar.Traveling = {
        text: '旅游' ,
        leaf: false , // 這個設為false 則顯示文件夾圖標 , true 則顯示單項圖標
        children: null
        };
        BJExtreme.prototype.ui.menuBar.Traveling.children = [
        {text: '北京',leaf: true ,ctl: 'Peking',act: ''},
        {text: '西藏' ,leaf: true ,ctl: 'Tibet' ,act: ''},
        {text: '泰國' ,leaf: true},
        {text: '香格里拉',leaf: true,ctl:'Shangrila',act: ''}
        ];
        //藏醫相關
        BJExtreme.prototype.ui.menuBar.Mibetdoctor = {
        text: '藏醫' ,
        leaf: false ,
        children: null
        };
        BJExtreme.prototype.ui.menuBar.Mibetdoctor.children = [
        {text: '藏醫歷史',leaf: true},
        {text: '藏醫理論' ,leaf: true},
        {text: '診斷' ,leaf: true},
        {text: '病癥' ,leaf: true},
        {text: '治療',leaf: true}
        ];

        //潛水
        BJExtreme.prototype.ui.menuBar.ping = {
        text: '潛水' ,
        leaf: false ,
        children: null
        };
        //登山
        BJExtreme.prototype.ui.menuBar.Mountain = {
        text: '登山' ,
        leaf: false ,
        children: null
        };
        //攀巖
        BJExtreme.prototype.ui.menuBar.Rockclimbe = {
        text: '攀巖' ,
        leaf: false ,
        children: null
        };
        //徒步
        BJExtreme.prototype.ui.menuBar.Onfoot = {
        text: '徒步' ,
        leaf: false ,
        children: null
        };
        //摩托車
        BJExtreme.prototype.ui.menuBar.Motorcycle = {
        text: '摩托車' ,
        leaf: false ,
        children: null
        };
        //項目中集成的模塊
        BJExtreme.prototype.ui.menuBar.ModuleInProject = {
        text: '項目中集成的模塊' ,
        leaf: false ,
        children: null
        };
        BJExtreme.prototype.ui.menuBar.ModuleInProject.children = [
        {
        text: '互動提示條',leaf: true,ctl: 'ExtjsStudy',act: 'linkTips',
        //這個運行的優先級高于下面的那個通用的監聽控制器
        listeners:{click: function (n){window.open(BJExtreme.prototype.buildLinkStr(n.attributes.ctl,n.attributes.act));return false ;}}
        }
        ];
        //初始化 菜單項元素 信息 -- 這個必須在 -- 當前菜單是使用異步樹組件生成的 , 以后可以添加其他不同的實現
        BJExtreme.prototype.ui.menuBar.loader = new Ext.tree.TreeLoader();
        BJExtreme.prototype.ui.menuBar.root = new Ext.tree.AsyncTreeNode({
        expanded: true ,
        children: [
        BJExtreme.prototype.ui.menuBar.Traveling ,
        BJExtreme.prototype.ui.menuBar.Mibetdoctor ,
        BJExtreme.prototype.ui.menuBar.ping ,
        BJExtreme.prototype.ui.menuBar.Mountain ,
        BJExtreme.prototype.ui.menuBar.Rockclimbe ,
        BJExtreme.prototype.ui.menuBar.Onfoot ,
        BJExtreme.prototype.ui.menuBar.Motorcycle ,
        BJExtreme.prototype.ui.menuBar.ModuleInProject
        ]
        });
        //定義一個簡單的響應事件
        BJExtreme.prototype.ui.menuBar.listeners = {
        click: function (n) //n.attributes 可以獲得AsyncTreeNode的children中的對象
        {
        if (n.attributes.leaf == true) //葉選項
        {
        //n.attributes.text n.attributes.leaf
        var ctlStr = BJExtreme.prototype.buildLinkStr(n.attributes.ctl,n.attributes.act);
        myextreme.showWindow('當前控制器',400,300,ctlStr) ;
        }
        else //包含子菜單
        {
        //not to do
        }
        }
        };
        //菜單選項結束
        //主內容面板
        BJExtreme.prototype.ui.contentPane = {
        id: "main_content", xtype: "tabpanel" , region: 'center' ,items: [{title: '主內容面板'}]
        };
        //狀態條
        BJExtreme.prototype.ui.statusBar = {
        xtype: "tabpanel" , region: 'south' ,items: [{title: '狀態條'}]
        };
        BJExtreme.prototype.buildMainPane = function(BJExtremeObj){
        //Ext.Viewport 用來將對象渲染到頁面中的body塊中,會自動改變,每個頁面僅限一個
        this.mainPane = new Ext.Viewport({
        enableTabScroll: true ,
        layout: 'border', //設為fit則不能顯示復合面板
        items: [
        BJExtremeObj.ui.mainTopic,
        BJExtremeObj.ui.menuBar ,
        BJExtremeObj.ui.contentPane ,
        BJExtremeObj.ui.statusBar
        ]
        }) ;
        }
        var myextreme = new BJExtreme() ;
        Ext.onReady(
        function(){
        //Ext.MessageBox.alert('BJExtreme Version',myextreme.getVersion());
        //Ext.MessageBox.alert('BJExtreme Version',myextreme.buildLinkStr('t','b'));
        myextreme.buildMainPane(myextreme) ;
        }
        );
        </script>
        <%*執行塊的JS區域 -- 結束*%>
        </head>
        <body>
        <!-- //頁面中子導航菜單 -->

        </body>
        </html>

        聲明:本網頁內容旨在傳播知識,若有侵權等問題請及時與本網聯系,我們將在第一時間刪除處理。TEL:177 7030 7066 E-MAIL:11247931@qq.com

        文檔

        EXT富客戶端后臺管理系統初步代碼_YUI.Ext相關

        EXT富客戶端后臺管理系統初步代碼_YUI.Ext相關:EXT富客戶端后臺管理系統 初步代碼提供給大家<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <h
        推薦度:
        • 熱門焦點

        最新推薦

        猜你喜歡

        熱門推薦

        專題
        Top
        主站蜘蛛池模板: 大学生一级特黄的免费大片视频| 久久久WWW免费人成精品| 四虎成年永久免费网站| 亚洲视频精品在线| 在线人成精品免费视频| 久久亚洲精品中文字幕| 57pao一国产成视频永久免费| 亚洲二区在线视频| 成年美女黄网站18禁免费| 亚洲欧美日韩中文无线码| 蜜臀91精品国产免费观看| 国产精品久久亚洲一区二区| 亚洲福利在线播放| 久久久WWW成人免费精品| 婷婷亚洲久悠悠色悠在线播放| 久久精品成人免费观看| www.亚洲日本| 免费人成视频在线观看视频 | 亚洲综合激情五月色一区| 毛片A级毛片免费播放| 国产偷国产偷亚洲高清在线 | 免费中文字幕一级毛片| av电影在线免费看| 18gay台湾男同亚洲男同| 好男人www免费高清视频在线| 羞羞的视频在线免费观看| 亚洲AV无码专区亚洲AV伊甸园| 亚洲香蕉免费有线视频| 亚洲成av人在线观看网站| 久久久久亚洲精品男人的天堂 | 亚洲国产精品无码久久九九大片 | 污网站免费在线观看| 亚洲av激情无码专区在线播放| 在线观看av永久免费| fc2免费人成在线视频| 亚洲视频中文字幕在线| 亚洲精品岛国片在线观看| 最近2019年免费中文字幕高清| 国产精品亚洲а∨无码播放麻豆| 亚洲欧洲日产国产综合网| 免费永久国产在线视频|