ext使用Window弹出时实现关灯效果
2012-01-31 10:19
387 查看
function edit() { var win; if (!win) { win = new Ext.Window({ //applyTo:'hello-win', layout : 'auto', //width : 800, //height : 300, autoHeight:true, autoWidth:true, closeAction : 'hide', plain : true, modal: true, items : new Ext.FormPanel({ labelWidth: 75, // label settings here cascade unless overridden url:'save-form.php', frame:true, title: '查看编辑', bodyStyle:'padding:5px 5px 0', width: 350, defaults: {width: 100}, defaultType: 'textfield',
在window的代码里 加上modal: true,
相关文章推荐
- 使用Style实现的popwindow弹出和收起的动画效果
- 使用PopupWindow + 2个ListView实现仿 美团/淘宝 多级分类菜单效果
- iOS实现底部弹出PopupWindow效果 iOS改变背景透明效果
- 使用jQuery实现页面定时弹出广告效果
- 使用window对象实现弹出窗口
- 弹出框使用字符序列表示非字符,实现换行等效果:
- VC6.0使用SetLayeredWindowAttributes实现透明效果
- 不使用JS,使用CSS3 target 以及 动画效果实现,点击一下弹出,并且保持弹出状态,然后再点击一下弹回的导航栏(或者可以叫做按钮)
- 使用JavaScript实现弹出层效果的简单实例
- 使用jquery实现弹出窗口效果(居中、左下角、右下角)
- 使用window.prompt()实现弹出用户输入的对话框
- 使用window对象实现弹出窗口
- 使用window对象实现弹出窗口
- PopupWindow弹出框与背景变暗的实现(附带动画效果)
- 用view实现popwindow效果,弹出菜单.
- 使用DialogFragment实现支付宝支付从底部弹出效果
- popupwindow 如何实现弹出菜单效果_popupwindow 实现弹出窗口范例
- 使用jQuery实现弹出框效果
- 利用TitleWindow和VideoPlayer组件轻松实现视频弹出播放效果
- 【javascript】使用window.open()实现弹出广告框