Change dialog to the new JQM 1.2 popup?
Also.. For nice Toast style popup messages..
Make custom CSS add..
code
.toast {display: none; position: fixed; z-index: 99999; width: 100%; text-align: center; bottom: 3em;}
.toast .message {display: inline-block; color: #fff ; padding: 5px; border-radius: 5px; box-shadow: 2px 2px 2px #666 ; -webkit-box-shadow: 2px 2px 2px #666 ; font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 1em; background: #282324 ; background-image: -webkit-gradient(linear,left top,left bottom, color-stop(0, #554434 ), color-stop(1, #282324 ));}
/code
Then add a custom JS. And place.
code
var toastDelay = 2000;//default display time
function toast(sMessage)
{
var container = $(document.createElement("div"));
container.addClass("toast");
var message = $(document.createElement("div"));
message.addClass("message");
message.text(sMessage);
message.appendTo(container);
container.appendTo(document.body);
container.delay(100).fadeIn("slow", function()
{
$(this).delay(toastDelay).fadeOut("slow", function()
{
$(this).remove();
});
});
}
/code
To Use...
code
toastDelay = 3000;//message show time
toast('my message');
//or eg using a variable
toast('my variable is.. ' + myvar);
/code