Skip to content

Instantly share code, notes, and snippets.

@yuribossa
Created November 26, 2010 11:17
Show Gist options
  • Select an option

  • Save yuribossa/716577 to your computer and use it in GitHub Desktop.

Select an option

Save yuribossa/716577 to your computer and use it in GitHub Desktop.
Simple Popup Message based on jQuery Mobile
function jqmSimpleMessage(message) {
$("<div class='ui-loader ui-overlay-shadow ui-body-b ui-corner-all'><h1>" + message + "</h1></div>")
.css({
display: "block",
opacity: 0.96,
top: window.pageYOffset+100
})
.appendTo("body").delay(800)
.fadeOut(400, function(){
$(this).remove();
});
}
@shlonny

shlonny commented Jun 7, 2011

Copy link
Copy Markdown

Works for me. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment