mirror of
https://github.com/Hopiu/jquery-mobile.git
synced 2026-04-18 21:30:59 +00:00
Added rel="external" example to the dialogs docs
This commit is contained in:
parent
a881ae79d7
commit
aad79e8a9a
1 changed files with 4 additions and 1 deletions
|
|
@ -28,8 +28,11 @@
|
|||
</code>
|
||||
</p>
|
||||
|
||||
<a href="dialog.html" data-role="button" data-inline="true" data-rel="dialog" data-transition="pop">Open dialog</a>
|
||||
<a href="dialog.html" data-role="button" data-inline="true" data-rel="dialog" data-transition="pop">Open dialog (Ajax)</a>
|
||||
|
||||
<p>To load the dialog as a completely new page instead of pulling it in via Ajax, add <code>rel="external"</code> attribute, just like any standard link. This is useful when linking from a <a href="docs-pages.html">multi-page template</a> to a dialog that's not part of that HTML document. The dialog will by styled the same as the Ajax version, but there won't be page transition.</p>
|
||||
|
||||
<a href="dialog.html" data-role="button" data-inline="true" data-rel="dialog" rel="external" data-transition="pop">Open dialog (rel=external)</a>
|
||||
|
||||
|
||||
<h2>Transitions</h2>
|
||||
|
|
|
|||
Loading…
Reference in a new issue