5 <meta name="viewport" content="width=device-width, initial-scale=1">
6 <link rel="stylesheet" href="themes/default/" />
7 <script src="js/jquery.js"></script>
8 <script src="js/"></script>
9 <script src="theme.js"></script>
10 <script src="js/jquery.mobile.forms.checkboxradio.extension.js"></script>
14 <div data-role="page" id="popupwindow-demo" data-add-back-btn="true">
15 <div data-role="header" data-position="fixed">
18 <div class="content" data-role="content">
19 <ul data-role="listview" data-icon="1line-textonly">
20 <li data-role="list-divider">App samples</li>
21 <li><a href="#center_social_style1" data-inline="true" data-rel="popup" data-position-to="window">Social Magazine style1</a></li>
22 <li><a href="#center_social_style2" data-inline="true" data-rel="popup" data-position-to="window">Social Magazine style2</a></li>
23 <li data-role="list-divider">Normal samples</li>
24 <li><a href="#center_info" data-inline="true" data-rel="popup" data-position-to="window">Center info popup</a></li>
25 <li><a href="#center_title" data-inline="true" data-rel="popup" data-position-to="window">Center title popup</a></li>
26 <li><a href="#center_basic_1btn" data-inline="true" data-rel="popup" data-position-to="window">Center basic 1 button popup</a></li>
27 <li><a href="#center_basic_2btn" data-inline="true" data-rel="popup" data-position-to="window">Center basic 2 button popup</a></li>
28 <li><a href="#center_basic_3btn" data-inline="true" data-rel="popup" data-position-to="window">Center basic 3 button popup</a></li>
29 <li><a href="#center_title_1btn" data-inline="true" data-rel="popup" data-position-to="window">Center title 1 button popup</a></li>
30 <li><a href="#center_title_2btn" data-inline="true" data-rel="popup" data-position-to="window">Center title 2 button popup</a></li>
31 <li><a href="#center_title_3btn" data-inline="true" data-rel="popup" data-position-to="window">Center title 3 button popup</a></li>
32 <li><a href="#center_button_vertical" data-inline="true" data-rel="popup" data-position-to="window">Center_button vertical</a></li>
33 <li><a href="#center_checkbox" data-inline="true" data-rel="popup" data-position-to="window">Center_checkbox</a></li>
34 <li><a href="#center_liststyle_1btn" data-inline="true" data-rel="popup" data-position-to="window">Center_list style 1 button popup</a></li>
35 <li><a href="#center_liststyle_2btn" data-inline="true" data-rel="popup" data-position-to="window">Center_list style 2 button popup</a></li>
36 <li><a href="#center_liststyle_3btn" data-inline="true" data-rel="popup" data-position-to="window">Center_list style 3 button popup</a></li>
37 <li><a href="#textbox_popup" data-inline="true" data-rel="popup" data-position-to="window">Popup has textbox</a></li>
38 <li><a href="#positionWindow" data-rel="popup" data-position-to="window">Position</a></li>
41 <!-- Social Magazine font popup -->
42 <div id="center_social_style1" data-role="popup" class="center_liststyle_2btn">
43 <div class="ui-popup-title">
46 <div class="ui-popup-scroller-bg" data-scroll="y" style="height:auto">
47 <ul data-role="listview">
48 <li class="ui-li-has-radio" id="text_fontSmall">
50 <input type="radio" name="radio-choice-1" id="fontSmall" value="choice-1"/>
53 <li class="ui-li-has-radio" id="text_fontMedium">
55 <input type="radio" name="radio-choice-1" id="fontMedium" value="choice-2"/>
58 <li class="ui-li-has-radio" id="text_fontLarge">
60 <input type="radio" name="radio-choice-1" id="fontLarge" value="choice-3"/>
65 <div class="ui-popup-button-bg">
66 <a data-role="button" data-rel="back" data-inline="true">OK</a>
67 <a data-role="button" data-rel="back" data-inline="true">Cancel</a>
71 <!-- Social Magazine ime popup -->
72 <div id="center_social_style2" data-role="popup" class="center_title_2btn">
73 <div class="ui-popup-title">
74 <h1>Create new category<h1>
76 <div class="ui-popup-text">
77 <input type="text" id="newCategoryPopupInput" name="newCategoryName" size="30" />
79 <div class="ui-popup-button-bg">
80 <a data-role="button" data-rel="back" data-inline="true">OK</a>
81 <a data-role="button" data-rel="back" data-inline="true">Cancel</a>
85 <!-- Center info Popup -->
86 <div id="center_info" data-role="popup" class="center_info">
87 <div class="ui-popup-text"> <p>
88 Pop-up dialog box, a child
89 window that blocks user inter-
90 act to the parent windows
94 <!-- Center title Popup -->
95 <div id="center_title" data-role="popup" class="center_title">
96 <div class="ui-popup-title">
99 <div class="ui-popup-text">
100 Pop-up dialog box, a child
101 window that blocks user interact
102 to the parent windows
106 <!-- Center basic 1 button popup -->
107 <div id="center_basic_1btn" data-role="popup" class="center_basic_1btn">
108 <div class="ui-popup-text">
109 Pop-up dialog box, a child
110 window that blocks user interact
111 to the parent windows
113 <div class="ui-popup-button-bg">
114 <a data-role="button" data-rel="back" data-inline="true">Button</a>
118 <!-- Center basic 2 button popup -->
119 <div id="center_basic_2btn" data-role="popup" class="center_basic_2btn">
120 <div class="ui-popup-text">
121 Pop-up dialog box, a child
122 window that blocks user interact
123 to the parent windows
125 <div class="ui-popup-button-bg">
126 <a data-role="button" data-rel="back" data-inline="true">Button1</a>
127 <a data-role="button" data-rel="back" data-inline="true">Button2</a>
131 <!-- Center basic 3 button popup -->
132 <div id="center_basic_3btn" data-role="popup" class="center_basic_3btn">
133 <div class="ui-popup-text">
134 Pop-up dialog box, a child
135 window that blocks user interact
136 to the parent windows
138 <div class="ui-popup-button-bg">
139 <a data-role="button" data-rel="back" data-inline="true">Button1</a>
140 <a data-role="button" data-rel="back" data-inline="true">Button2</a>
141 <a data-role="button" data-rel="back" data-inline="true">Button3</a>
145 <!-- Center title 1 button popup -->
146 <div id="center_title_1btn" data-role="popup" class="center_title_1btn">
147 <div class="ui-popup-title">
150 <div class="ui-popup-text">
151 Pop-up dialog box, a child
152 window that blocks user interact
153 to the parent windows
155 <div class="ui-popup-button-bg">
156 <a data-role="button" data-rel="back" data-inline="true">Button</a>
160 <!-- Center title 2 button popup -->
161 <div id="center_title_2btn" data-role="popup" class="center_title_2btn">
162 <div class="ui-popup-title">
165 <div class="ui-popup-text">
166 Pop-up dialog box, a child
167 window that blocks user interact
168 to the parent windows
170 <div class="ui-popup-button-bg">
171 <a data-role="button" data-rel="back" data-inline="true">Button1</a>
172 <a data-role="button" data-rel="back" data-inline="true">Button2</a>
176 <!-- Center title 3 button popup -->
177 <div id="center_title_3btn" data-role="popup" class="center_title_3btn">
178 <div class="ui-popup-title">
181 <div class="ui-popup-text">
182 Pop-up dialog box, a child
183 window that blocks user interact
184 to the parent windows
186 <div class="ui-popup-button-bg">
187 <a data-role="button" data-rel="back" data-inline="true">Button1</a>
188 <a data-role="button" data-rel="back" data-inline="true">Button2</a>
189 <a data-role="button" data-rel="back" data-inline="true">Button3</a>
193 <!-- Center button vertical -->
194 <div id="center_button_vertical" data-role="popup" class="center_button_vertical">
195 <div class="ui-popup-text">
199 <div class="ui-popup-button-bg">
200 <a data-role="button" data-rel="back" data-inline="true">Rename</a>
201 <a data-role="button" data-rel="back" data-inline="true">Replace</a>
202 <a data-role="button" data-rel="back" data-inline="true">Cancel</a>
206 <!-- popup checkbox -->
207 <div id="center_checkbox" data-role="popup" class="center_checkbox">
208 <div class="ui-popup-text">
214 <div class="ui-popup-check-bg">
215 <input type="checkbox" name="checkbox-1" id="checkbox-1" class="custom" />
216 <label for="checkbox-1">Don't ask again</label>
218 <div class="ui-popup-button-bg">
219 <a data-role="button" data-rel="back" data-inline="true">Rename</a>
220 <a data-role="button" data-rel="back" data-inline="true">Replace</a>
224 <!-- popup liststyle 1 button -->
225 <div id="center_liststyle_1btn" data-role="popup" class="center_liststyle_1btn">
226 <div class="ui-popup-title">
229 <div class="ui-popup-scroller-bg" data-scroll="y">
230 <ul data-role="listview" data-icon="1line-textonly">
231 <li><a href="#">List item 1</a></li>
232 <li><a href="#">List item 2</a></li>
233 <li><a href="#">List item 3</a></li>
234 <li><a href="#">List item 4</a></li>
235 <li><a href="#">List item 5</a></li>
236 <li><a href="#">List item 6</a></li>
237 <li><a href="#">List item 7</a></li>
238 <li><a href="#">List item 8</a></li>
239 <li><a href="#">List item 9</a></li>
242 <div class="ui-popup-button-bg">
243 <a data-role="button" data-rel="back" data-inline="true">Cancel</a>
247 <!-- popup liststyle 2 button -->
248 <div id="center_liststyle_2btn" data-role="popup" class="center_liststyle_2btn">
249 <div class="ui-popup-title">
252 <div class="ui-popup-scroller-bg" data-scroll="y">
253 <ul data-role="listview" data-icon="1line-textonly">
254 <li><a href="#">List item 1</a></li>
255 <li><a href="#">List item 2</a></li>
256 <li><a href="#">List item 3</a></li>
257 <li><a href="#">List item 4</a></li>
258 <li><a href="#">List item 5</a></li>
259 <li><a href="#">List item 6</a></li>
260 <li><a href="#">List item 7</a></li>
261 <li><a href="#">List item 8</a></li>
262 <li><a href="#">List item 9</a></li>
265 <div class="ui-popup-button-bg">
266 <a data-role="button" data-rel="back" data-inline="true">Ok</a>
267 <a data-role="button" data-rel="back" data-inline="true">Cancel</a>
271 <!-- popup liststyle 3 button -->
272 <div id="center_liststyle_3btn" data-role="popup" class="center_liststyle_3btn">
273 <div class="ui-popup-title">
276 <div class="ui-popup-scroller-bg" data-scroll="y">
277 <ul data-role="listview" data-icon="1line-textonly">
278 <li><a href="#">List item 1</a></li>
279 <li><a href="#">List item 2</a></li>
280 <li><a href="#">List item 3</a></li>
281 <li><a href="#">List item 4</a></li>
282 <li><a href="#">List item 5</a></li>
283 <li><a href="#">List item 6</a></li>
284 <li><a href="#">List item 7</a></li>
285 <li><a href="#">List item 8</a></li>
286 <li><a href="#">List item 9</a></li>
289 <div class="ui-popup-button-bg">
290 <a data-role="button" data-rel="back" data-inline="true">Rename</a>
291 <a data-role="button" data-rel="back" data-inline="true">Replace</a>
292 <a data-role="button" data-rel="back" data-inline="true">Cancel</a>
296 <!-- textbox popup -->
297 <div id="textbox_popup" data-role="popup" class="center_title_2btn">
298 <div class="ui-popup-title">
301 <div class="ui-popup-text">
302 <input type="text" size="30" />
303 <input type="text" size="30" />
305 <div class="ui-popup-button-bg">
306 <a data-role="button" data-rel="back" data-inline="true">OK</a>
307 <a data-role="button" data-rel="back" data-inline="true">Cancel</a>
311 <div data-role="popup" id="positionWindow">
312 <p>I am positioned to the window.</p>
315 </div> <!-- /content -->
317 <div data-role="footer">
320 </div> <!-- /page -->