Extjs4.0 开发笔记

powered by 修改

         在desktop.html中修改 <a href="#" target="_blank" alt="Powered by 曲阜师范大学"

       id="poweredby"><div></div></a>

         然后在desktop.css中

#poweredby div {



    position: relative;



    width: 180px;



    height: 25px;



    background-image: url(../images/powered-by-qsd.png);



    background-repeat: no-repeat;



}

 

将background-image替换成自己的图片即可

Ext.Msg.confirm用法

Ext.Msg.confirm('Logout', '您确定要注销?', function(r){



            if(r){



                location.href = 'http://www.baidu.com';



            }



            else{



                location.href = 'http://www.google.com.hk';



            }



        });

你可能感兴趣的:(Extjs4.0)