8.
Building Cross-Plaftform Mobile Applications – jQuery Mobile
Slide 08 of 12
Creating Dialogs
Any page can be presented as a modal dialog by adding the data-
rel="dialog" attribute to the page anchor link.
When the "dialog" attribute is applied, the framework adds styles to add
rounded corners, margins around the page and a dark background to
make the "dialog" appear to be suspended above the page.
<a href="foo.html" data-rel="dialog">Open dialog</a>