2011年12月8日

让toolbar.button以及formpanel中的button像个普通按钮

摘要: 先把按钮默认的cls设置成鼠标放上去的样子x-btn-over。然后添加鼠标移开的事件。删除和添加这个样式 text:'查询', iconCls:'icon-find', cls:'x-btn-over', listeners:{ mouseout:function(){ this.removeClass('x-btn-over'); this.addClass('x-btn-over'); } }, handler:function(){} 阅读全文

posted @ 2011-12-08 12:08 毛毛亟亟 阅读(298) 评论(0) 推荐(0)

导航