﻿// JScript 文件
Ext.onReady(function(){
     var aboutButton =Ext.get('about-addtoo');
     aboutButton.on('click',function(e){
             aboutDlg = new Ext.Window({
                //el:'win',
               
                layout:'form',
                width:340,
                height:320,
                //closeAction:'hide',
                modal :true,
                plain: true,
                title:'关于爱读',
                border:false,
                bodyBorder:false,
                resizable:false,
                labelWidth:75, 
                items: [{
                            html: '<div style="text-align:center;border-right: #CAD9EC 2px solid;border-left: #CAD9EC 2px solid;border-top: #CAD9EC 10px solid;background-color: #CAD9EC;"><img src="../Images/logo_pop_add.png" alt="logo" /><p Style="font-weight: bold; font-size: 14px;">爱读在线收藏夹</p></div>',
                            border:false 
                         },{
                            html: '<div style="text-align:center;border-right: #CAD9EC 2px solid;border-left: #CAD9EC 2px solid;border-top: #CAD9EC 10px solid;background-color: #CAD9EC;">Copyright 2006-2008 Addtoo.net, All Rights Reserved.</div>',
                            border:false 
                         },{
                            html: '<div style="text-align:center;border-right: #CAD9EC 2px solid;border-left: #CAD9EC 2px solid;border-top: #CAD9EC 10px solid;background-color: #CAD9EC;">版本信息：5.1.0</div>',
                            border:false 
                         },{
                            html: '<div style="text-align:center;border-top: #CAD9EC 22px solid;border-right: #CAD9EC 2px solid;border-left: #CAD9EC 2px solid;border-top: #CAD9EC 10px solid;background-color: #CAD9EC;"><img src="../Images/pow_by_aspnet2.0.gif" alt="aspnet2.0"/><img src="../Images/powered.gif" alt="Ext2.0"/></div>',
                            border:false 
                         }],
                
                buttons: [{
                    text: '确定',
                    handler: function(){
                        aboutDlg.close();
                       
                    }
                }]
            }); 
           
      aboutDlg.show(this);
     });
}); 

