Hi,
just tested it today, works perfect... The only problem is that the (toast|notification)window takes focus when displayed. To change that behavior, we can simply overrides Ext.Window.focus() method :
Just add at the end the following method
PHP Code:
animHide: function(){
Ext.vision.dialog.NotificationMgr.positions.remove(this.pos);
this.el.ghost("b", {
duration: 1,
remove: true
});
},
focus: Ext.emptyFn
Better alternative is to provide a config param...
Note also that when showing it on document.body, scrollbars may appear. Fix it in the CSS by adding
PHP Code:
body {
overflow: hidden;
}
Thx