jMessage(‘loading page…’, ‘’, true, false);
The first boolean is to show the processing - animated image when true.
The second boolean is to make the message sticky when true. User will need to click X to close the message.
default.htm has all the examples.
Please open jquery.alerts.messages.js and scroll towards the bottom to look at the global functions that you can utilize, here is the list:
//short cut
jMessage = function(message, showNearThisObject, blnProcessImage, blnSticky, callback) {
$.messages.message(message, showNearThisObject, blnProcessImage, blnSticky, callback);
}
jMessageOK = function(message, showNearThisObject, blnProcessImage, blnSticky, callback) {
$.messages.messageOK(message, showNearThisObject, blnProcessImage, blnSticky, callback);
}
jMessageError = function(message, showNearThisObject, blnProcessImage, blnSticky, callback) {
$.messages.messageError(message, showNearThisObject, blnProcessImage, blnSticky, callback);
}
jMessageHide = function() {
$.messages.messageHide();
}
jMessageHideInterval = function(interval){
setTimeout('$.messages.messageHide()', interval);
}
Again, this is some thing that i am developing for my own specific needs. I am already working on the changes as i get time. For your needs, either you can use this as is or build upon it.