Skip to content
This repository was archived by the owner on Oct 8, 2021. It is now read-only.

Commit c762765

Browse files
author
Gabriel Schulhof
committed
Popup: Update multipage demo with a link to the external widgets demo
1 parent 2d6ebd6 commit c762765

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

demos/popup-outside-multipage/index.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,9 @@
5050
<a href="#popup-outside-page" data-rel="popup" class="ui-btn ui-btn-inline ui-corner-all">Menu</a>
5151
</div>
5252

53+
<h2>Pages loaded via Ajax</h2>
54+
<p>When your application consists of multiple HTML documents containing single jQuery Mobile pages linked together via <a href="../navigation/">Ajax navigation</a>, you can still use a single popup across multiple pages, however, since any of your documents may serve as the start page, you must include the code that initializes the popup as well as the markup for the popup itself in all documents. The <a href="../navigation-ajax-external-widgets/">external widgets</a> demo explains further and provides an example of such a structure.</p>
55+
5356
</div><!-- /content -->
5457

5558
<?php include( '../jqm-navmenu.php' ); ?>

0 commit comments

Comments
 (0)