lema Posted October 18, 2011 Share Posted October 18, 2011 Alert Box An easy and fast way to show messages. AlertBox.zip 1 1 Quote Link to comment Share on other sites More sharing options...
Administrators Farshad Mohajeri Posted October 18, 2011 Administrators Share Posted October 18, 2011 Thanks for your contribution. Quote Link to comment Share on other sites More sharing options...
Javi Posted October 18, 2011 Share Posted October 18, 2011 Thanks for the input:) I found a bug, if you pressed repeatedly on the same button, the message is still visible. ----------------------------------------- Gracias por el aporte He encontrado un fallo, si tu pulsas repetidamente sobre un mismo botón, el mensaje sigue visible. Thanks for your contribution. Quote Link to comment Share on other sites More sharing options...
efkenis Posted October 18, 2011 Share Posted October 18, 2011 Left and right give ajax error Invalid argument: AlertBox.show("Left Dock", "This came from the left!", "warning", {dock: "left"}); Works on Chrome Quote Link to comment Share on other sites More sharing options...
fredycc Posted October 25, 2011 Share Posted October 25, 2011 Thanks for the input:) I found a bug, if you pressed repeatedly on the same button, the message is still visible. ----------------------------------------- Gracias por el aporte He encontrado un fallo, si tu pulsas repetidamente sobre un mismo botón, el mensaje sigue visible. The same problem here, maybe is a bug, the next page have some examples but using timeout the problem is the same: http://www.artalat.com/Ext.ux.AlertBox/ Regards. Quote Link to comment Share on other sites More sharing options...
lema Posted October 26, 2011 Author Share Posted October 26, 2011 The same problem here, maybe is a bug, the next page have some examples but using timeout the problem is the same: http://www.artalat.com/Ext.ux.AlertBox/ Regards. Yes , it has a bug. If you click repeatedly , the message will be shown forever. That happens on the owner's site also. Quote Link to comment Share on other sites More sharing options...
lema Posted October 26, 2011 Author Share Posted October 26, 2011 Left and right give ajax error Invalid argument: AlertBox.show("Left Dock", "This came from the left!", "warning", {dock: "left"}); Works on Chrome No problem here. Tested with: Firefox 7.0.1 Chrome 15.0.874.102 IE 9.0.8112.16421 Quote Link to comment Share on other sites More sharing options...
patmap Posted October 27, 2011 Share Posted October 27, 2011 Hi, Good work ! Regards Quote Link to comment Share on other sites More sharing options...
estor485 Posted May 23, 2012 Share Posted May 23, 2012 Thanks for the input =) Quote Link to comment Share on other sites More sharing options...
estor485 Posted May 24, 2012 Share Posted May 24, 2012 Hello All, I'm new in the world of Js and UniGui, i see the example and is great, i wanted to copy and appears this error "Ajax error AlertBox not defined AlertBox.show("Top Dock", "This came from the top and it will disappear in 3 seconds!", "warning", {dock: "top" , timeout: 3} ); " i added the files js in file folder and nothing, any idea? Thanks. Quote Link to comment Share on other sites More sharing options...
lema Posted May 24, 2012 Author Share Posted May 24, 2012 Hello All, I'm new in the world of Js and UniGui, i see the example and is great, i wanted to copy and appears this error "Ajax error AlertBox not defined AlertBox.show("Top Dock", "This came from the top and it will disappear in 3 seconds!", "warning", {dock: "top" , timeout: 3} ); " i added the files js in file folder and nothing, any idea? Thanks. You must include the files Ext.ux.AlertBox.js , Ext.ux.AlertBox.css in the project. Use ServerModule.CustomFiles property For notification system you can also see the: http://forums.unigui.com/index.php?/topic/1808-humanejs-notification-system-for-unigui/ Quote Link to comment Share on other sites More sharing options...
estor485 Posted May 24, 2012 Share Posted May 24, 2012 Thanks @Lema now works Quote Link to comment Share on other sites More sharing options...
Marlon Nardi Posted December 8, 2012 Share Posted December 8, 2012 Does not work in version 0.90.0.974! Quote Link to comment Share on other sites More sharing options...
fpsilv Posted April 20, 2013 Share Posted April 20, 2013 Does not work in version 0.93. Quote Link to comment Share on other sites More sharing options...
bruno-pere Posted June 20, 2013 Share Posted June 20, 2013 Any news on this? Bruno Quote Link to comment Share on other sites More sharing options...
Jose Abanto Posted July 9, 2013 Share Posted July 9, 2013 this not work. I have this message Object function String() { [native code] } has no method 'format' Thanks. Quote Link to comment Share on other sites More sharing options...
Mortymer Posted October 14, 2013 Share Posted October 14, 2013 Hi! Good work and great sample!! Quote Link to comment Share on other sites More sharing options...
Mediv07 Posted December 11, 2013 Share Posted December 11, 2013 lema, can you make an example for new builds with support for 4.2.1 ?? Regards. Quote Link to comment Share on other sites More sharing options...
Hayri ASLAN Posted January 26, 2014 Share Posted January 26, 2014 you can use http://forums.unigui.com/index.php?/topic/3444-tuninotification-a-notification-system-with-clicked-event/ this component Quote Link to comment Share on other sites More sharing options...
ganzqgy Posted January 28, 2014 Share Posted January 28, 2014 return Ext.String.format("<p {2}><b>{0}</b>{1}</p>", title, message, iconCls); 0.94.0.1024 Quote Link to comment Share on other sites More sharing options...
ganzqgy Posted January 28, 2014 Share Posted January 28, 2014 var top = ((Ext.getBody().getHeight()/2) - (Ext.fly(this.el).getHeight()/2)); Quote Link to comment Share on other sites More sharing options...
isam Posted July 18, 2018 Share Posted July 18, 2018 Hello i have error : String.format is not a function Quote Link to comment Share on other sites More sharing options...
Sherzod Posted July 18, 2018 Share Posted July 18, 2018 Hello i have error : String.format is not a function Which edition and build are you using? Quote Link to comment Share on other sites More sharing options...
isam Posted July 22, 2018 Share Posted July 22, 2018 hello, i have error : String.format is not a function Quote Link to comment Share on other sites More sharing options...
Sherzod Posted July 22, 2018 Share Posted July 22, 2018 hello, i have error : String.format is not a function Which edition and build are you using? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.