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

Commit

Permalink
Popup: External popups no longer need custom click routing
Browse files Browse the repository at this point in the history
(cherry picked from commit 39fe09e)

Fixes gh-7367
  • Loading branch information
Gabriel Schulhof committed May 6, 2014
1 parent 199d897 commit 67d897a
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion demos/popup-outside-multipage/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@

<p>You can reuse the same popup on multiple pages if you declare it as a direct child of the <code>body</code> element. It can then appear on any page in the document.</p>
<p>If you define the popup outside of any page, then you must take care to instantiate the popup widget yourself. You can do this as early as DOMReady, because the popup is not on any page.</p>
<p>If you wish the popup to be opened from a set of links, then you must also handle that manually, because automatic handling via <code>data-rel="popup"</code> is restricted to popups on the active page.</p>
<p>The example below illustrates the setup with two pages.</p>
<div data-demo-html="#popup-outside-page,#other-page,#third-page" data-demo-js="#popup-outside-page-script">
<a href="#popup-outside-page" data-rel="popup" class="ui-btn ui-btn-inline ui-corner-all">Menu</a>
Expand Down

0 comments on commit 67d897a

Please sign in to comment.