jquery - Apprise is a great plugin, but with a little problem. What to change? -


here great plugin: http://thrivingkings.com/apprise/

when use apprise('hello'); or other function doesn't stop, continues execute jquery code while simple alert("hello"); stop executing js code. so, ideas how solve this?

i want use it, because extremely cool , light-weighted. (or maybe know other plugins alert messages awesome one?).

thanks.

it looks it's meant non-blocking. in other words, if want subsequent code wait until apprise box has closed, you'll have pass in continuation:

apprise('hello', null, function() { /* continuation */ });

edit:

further clarification:

$(document).ready(function(){     apprise('hello', null, function(){         // code here execute after msg box has been closed     });     // code execute immediately, not waiting box close }); 

this designed in non-blocking call. any code want have execute after box has been close must contained in continuation.


Comments