mirror of
https://github.com/Hopiu/jquery-mobile.git
synced 2026-04-17 21:01:00 +00:00
added a note to docs. Fixes #880
This commit is contained in:
parent
9ed13f86c8
commit
d9b84f3f60
1 changed files with 4 additions and 0 deletions
|
|
@ -50,6 +50,10 @@
|
|||
|
||||
<h2>History & Back button behavior</h2>
|
||||
<p>Since dialogs are typically used to support actions within a page, the framework does not include dialogs in the hash state history tracking. This means that dialogs will not appear in your browsing history chronology when the Back button is clicked. For example, if you are on a page, click a link to open a dialog, close the dialog, then navigate to another page, if you were to click the browser's Back button at that point you will navigate back to the first page, not the dialog.</p>
|
||||
|
||||
<h2>Dialogs in Multi-Page templates</h2>
|
||||
<p>To open a page div as a dialog in a multipage template, you'll need to assign that page <code>data-role="dialog"</code>, along with the regular data-rel linking convention.</p>
|
||||
|
||||
<h2>Styling & theming</h2>
|
||||
<p>Dialogs can be styled with different themes, just like any page. Here is a different dialog design:</p>
|
||||
<a href="dialog-alt.html" data-role="button" data-inline="true" data-rel="dialog" data-transition="pop">An alternate color scheme</a>
|
||||
|
|
|
|||
Loading…
Reference in a new issue