Skip to content

Instantly share code, notes, and snippets.

@yuribossa
Created November 26, 2010 11:17
Show Gist options
  • Star 3 You must be signed in to star a gist
  • Fork 4 You must be signed in to fork a gist
  • Save yuribossa/716577 to your computer and use it in GitHub Desktop.
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();
});
}
@woodsongem
Copy link

where is css and did u check this into any mobile simulator

@d6veteran
Copy link

Can't get this to work.

@shlonny
Copy link

shlonny commented Jun 7, 2011

Works for me. Thanks!

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