Skip to content

Commit d9b84f3

Browse files
author
scottjehl
committed
added a note to docs. Fixes jquery-archive#880
1 parent 9ed13f8 commit d9b84f3

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

docs/pages/docs-dialogs.html

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,10 @@ <h2>Closing dialogs</h2>
5050

5151
<h2>History &amp; Back button behavior</h2>
5252
<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>
53+
54+
<h2>Dialogs in Multi-Page templates</h2>
55+
<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>
56+
5357
<h2>Styling &amp; theming</h2>
5458
<p>Dialogs can be styled with different themes, just like any page. Here is a different dialog design:</p>
5559
<a href="dialog-alt.html" data-role="button" data-inline="true" data-rel="dialog" data-transition="pop">An alternate color scheme</a>

0 commit comments

Comments
 (0)