Hi Erik, thanks for your effort. So, I only need to download this to have your improvements?
http://www.eirik.net/Ext/ux/window/Notification.js
Printable View
Hi Erik, thanks for your effort. So, I only need to download this to have your improvements?
http://www.eirik.net/Ext/ux/window/Notification.js
That is correct. The new 2.1 version should be backwards compatible with the previous 2.0 version. Just replace the Notification.js file with the one in the link and the changes will take effect.
Great! Thank you!
Hi, great extension =D>
can I download from somewhere v2.0 I am trying to implement in one ExtJS 4.0.7 project and 2.1 is not working for me.
10x
Same request as dunamis :-). Please, can you provide dload link for version 2.0. This will be of great help for me, tnx.
oh! good , i neet this
Erik,
What is the license for this extension ? It says in the header that it's dual licensed under MIT and GPL, the GPL is a problem for us, MIT is OK.
Can we use this extension in a commercial application ?
Thanks for the great work,
Barry
I too was having troubles making it work on 4.0.7. I've found a copy of version 2.0 after searching a bit, and works great
http://git.php.net/?p=web/doc-editor...682ec46c3d75ef
I wanted to use the plugin to show notifications for reminders.
Turns out that, the moment you create an instance, the popup is shown.
Isn't it possible to create an instance, assign it to a variable, and then call the show()-method using a setTimeout? :-/
I also tried putting the generation of the instance in the setTimeout-function, but that doesn't help, the panel is shown immediately.
Code:var me = this, msTillReminder = 30000, type= 'xxx', queueid=1, recordid=1;
eval('setTimeout(function () {
var rem_' + type + '_' + queueid + '_' + recordid + ' =' + 'Ext.create("Ext.ux.Notification", {' +
'title: "Reminder",' +
'position: "br",' +
'manager: me.id,' +
'stickWhileHover: true,' +
'cls: "ux-notification-light",' +
'iconCls: "ux-notification-icon-reminder",' +
'autoCloseDelay: 6000,' +
'spacing: 20,' +
'slideInDuration: 800,' +
'slideBackDuration: 1500,' +
'slideInAnimation: "bounceOut",' +
'slideBackAnimation: "easeIn",' +
'html: "my text"' +
'}).show() }, ' +
msTillReminder + ')');
Apparently, this is caused by a browser bug (?).
In my case, the interval used in the setTimeout-function was quite large; 6621707120
I found out that there was a (firefox-)bug posted that calls with a very large timeout would be called prematurely.
So it seems I'll have to limit the time-interval...