You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 8, 2021. It is now read-only.
Copy file name to clipboardExpand all lines: docs/pages/popup/index.html
+21-9Lines changed: 21 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -53,7 +53,7 @@ <h2>Popup</h2>
53
53
<p>This is a completely basic popup, no options set.</p>
54
54
</div>
55
55
56
-
<p>This example isn't too pretty because a default popup container doesn't have padding. It's really just a container with rounded corners and a shadow which serves as a blank slate for your designs (even these features can be disabled via <ahref="options.html">options</a>). This simple styling makes it easy to add in widgets like a listview to make a <ahref="#popupMenu" data-rel="popup">menu</a> or photo to make a <ahref="#popupPhoto" data-rel="popup">lightbox</a> that go right up to the edge of the popup.</p>
56
+
<p>The framework sets a small margin on text elements, but basically it's really just a container with rounded corners and a shadow which serves as a blank slate for your designs (even these features can be disabled via <ahref="options.html">options</a>). This simple styling makes it easy to add in widgets like a listview to make a <ahref="#popupMenu" data-rel="popup">menu</a> or photo to make a <ahref="#popupMap" data-rel="popup">lightbox</a> that go right up to the edge of the popup.</p>
57
57
58
58
59
59
<h2>Calling the popup plugin</h2>
@@ -89,12 +89,19 @@ <h2>Closing popups</h2>
89
89
</div>
90
90
</code></pre>
91
91
92
-
<ahref="#popupMap" data-rel="popup" data-role="button" data-inline="true">Popup with close button</a>
<p>I have a close button at the top left corner.</p>
103
+
</div>
104
+
98
105
<h2>Adding padding</h2>
99
106
<p>For popups with formatted text, padding is needed. We recommend adding the <code>ui-content</code> class to the popup container which adds the standard 15px of padding, just like the page content container. Write your own styles to create a more customized design if needed.</p>
0 commit comments