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

Commit bafd067

Browse files
Add popup video example to docs.
1 parent 7aabc88 commit bafd067

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

docs/pages/popup/index.html

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -190,6 +190,8 @@ <h2>Popup examples</h2>
190190
<a href="#popupPhoto" data-rel="popup" data-role="button" data-inline="true" data-transition="fade">Photo</a>
191191
<a href="#popupDialog" data-rel="popup" data-role="button" data-inline="true" data-transition="flow">Dialog</a>
192192
<a href="#popupAccordion" data-rel="popup" data-role="button" data-inline="true" data-transition="flip">Accordion</a>
193+
<a href="#popupMap" data-rel="popup" data-role="button" data-inline="true" data-transition="fade">Map</a>
194+
<a href="#popupVideo" data-rel="popup" data-role="button" data-inline="true" data-transition="none">Video</a>
193195

194196
<div data-role="popup" id="popupInfo" class="ui-content" data-theme="e">
195197
<p>Here is a <strong>tiny popup</strong> being used like a tooltip. The text will wrap to multiple lines as needed.</p>
@@ -257,6 +259,10 @@ <h3>Steve Jobs</h3>
257259
</div>
258260
</div>
259261
</div>
262+
263+
<div data-role="popup" id="popupVideo" data-overlay-theme="a" data-theme="c" data-inset="true" style="width:537px; height: 338px;">
264+
<iframe src="http://player.vimeo.com/video/41135183?autoplay=1" width="497" height="298" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen style="padding:20px 20px;"></iframe>
265+
</div>
260266

261267
<h2>Note: Chaining of popups not allowed</h2>
262268
<p>The framework does not currently support chaining of popups so it's not possible to embed a link from one popup to another popup. All links with a <code>data-rel="popup"</code> inside a popup will not do anything at all.</p>

0 commit comments

Comments
 (0)