小菜毛毛技術(shù)分享

          與大家共同成長(zhǎng)

            BlogJava :: 首頁 :: 聯(lián)系 :: 聚合  :: 管理
            164 Posts :: 141 Stories :: 94 Comments :: 0 Trackbacks
          1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">  
          2. <html xmlns="http://www.w3.org/1999/xhtml">  
          3. <head>  
          4. <meta http-equiv="Content-Type" content="text/html; charset=gb2312" />  
          5. <link rel="stylesheet" type="text/css" href="../../../../resources/css/ext-all.css" />  
          6. <title>登陸程序</title>  
          7. <style type="text/css">  
          8.   
          9. .contain{   
          10.         width:100%;    
          11.         height:100%;   
          12.         top:0;   
          13.         left:0;   
          14.     }   
          15. .center {   
          16.     position:absolute;   
          17.     top:30%;   
          18.     left:43%;   
          19.     text-align:left;   
          20. }   
          21.   
          22.   
          23. </style>  
          24. <script type="text/javascript" src="../../../../adapter/ext/ext-base.js">  
          25. </script>  
          26. <script type="text/javascript" src="../../../../ext-all.js">  
          27. </script>  
          28. <script type="text/javascript" src="../../../../build/locale/ext-lang-zh_CN.js">  
          29. </script>  
          30. <script type="text/javascript">  
          31.        
          32.     Ext.onReady(function(){   
          33.        
          34.         var _panel = new Ext.Panel({   
          35.                 title:"登 陸",   
          36.                 frame:true,   
          37.                 width:260,   
          38.                 height:130,   
          39.                 layout:"form",   
          40.                 labelWidth:45,   
          41.                 defaults:{xtype:"textfield" , width:180},   
          42.                 items:[{   
          43.                     fieldLabel:"賬號(hào)"   
          44.                 },{   
          45.                     fieldLabel:"密碼"   
          46.                 }],   
          47.                 buttons:[{   
          48.                     text:"確 定"   
          49.                 },{   
          50.                     text:"取 消"   
          51.                 }]   
          52.             }) ;   
          53.            
          54.         _panel.applyToMarkup(Ext.DomHelper.append(Ext.getBody(), {   
          55.                             tag:"div",   
          56.                             cls:"contain",   
          57.                             cn:[{   
          58.                                 tag:"div",   
          59.                                 cls:"center"   
          60.                             }]   
          61.                       } , true).child("div")) ;   
          62.            
          63.     }) ;   
          64.        
          65. </script>  
          66. </head>  
          67.   
          68. <body>  
          69. </body>  
          70. </html> 
          其中需要主要包引入的順序與其的相對(duì)路徑
          posted on 2009-05-05 15:49 小菜毛毛 閱讀(2893) 評(píng)論(1)  編輯  收藏

          Feedback

          # re: extjs 登陸頁面[未登錄] 2011-01-24 15:12 小白
          dojochina的東西~  回復(fù)  更多評(píng)論
            


          只有注冊(cè)用戶登錄后才能發(fā)表評(píng)論。


          網(wǎng)站導(dǎo)航:
           
          主站蜘蛛池模板: 邵东县| 云梦县| 枞阳县| 澄江县| 油尖旺区| 阿鲁科尔沁旗| 镇原县| 新田县| 葵青区| 宁城县| 从江县| 尚义县| 绍兴县| 巩义市| 五指山市| 蒙自县| 苍梧县| 漳浦县| 安新县| 涡阳县| 曲周县| 梁河县| 霞浦县| 吉木乃县| 筠连县| 凉城县| 会理县| 鱼台县| 中超| 韶山市| 深泽县| 潜江市| 交口县| 上饶市| 旬阳县| 潞城市| 嘉善县| 三门县| 建阳市| 郑州市| 台州市|