摘要: 1、card 1 var navigate = function (panel, direction) { 2 var layout = panel.getLayout(); 3 layout[direction](); 4 Ext.getCmp('move-prev').setDisabled(!layout.getPrev()); 5 Ext.getCmp('move-next').setDisabled(!layout.getNext()... 阅读全文
posted @ 2011-12-16 10:33 孙金棚 阅读(24865) 评论(2) 推荐(0) 编辑
摘要: 1.最简单的提示[html]<div id="tip1" class="TipDiv">普通提示</div>[js]1 Ext.create('Ext.tip.ToolTip', {2 target: 'tip1',3 html: '最简单的提示'4 });2.可关闭的提示[html]1 <div id="tip2" class="TipDiv">不自动隐藏</div>[js]1 Ext.create('Ext. 阅读全文
posted @ 2011-12-16 09:14 孙金棚 阅读(7436) 评论(2) 推荐(0) 编辑