File tree Expand file tree Collapse file tree 1 file changed +40
-0
lines changed Expand file tree Collapse file tree 1 file changed +40
-0
lines changed Original file line number Diff line number Diff line change
1
+ <!doctype html>
2
+ < html >
3
+ < head >
4
+ < title > Multipage example</ title >
5
+ < meta name ="viewport " content ="width=device-width, initial-scale=1 " />
6
+ < link rel ="stylesheet " href ="//code.jquery.com/mobile/1.4.0/jquery.mobile-1.4.0.min.css " />
7
+ < script src ="//code.jquery.com/jquery-1.10.2.min.js "> </ script >
8
+ < script src ="//code.jquery.com/mobile/1.4.0/jquery.mobile-1.4.0.min.js "> </ script >
9
+ < style >
10
+ html , body { padding : 0 ; margin : 0 ; }
11
+ html , .ui-mobile , .ui-mobile body {
12
+ height : 195px ;
13
+ }
14
+ .ui-mobile , .ui-mobile .ui-page {
15
+ min-height : 195px ;
16
+ }
17
+ .ui-content {
18
+ padding : 10px 15px 0px 15px ;
19
+ }
20
+ </ style >
21
+ </ head >
22
+ < body >
23
+ < div data-role ="page " id ="page1 ">
24
+ < div data-role ="header ">
25
+ < h1 > Page 1</ h1 >
26
+ </ div >
27
+ < div role ="main " class ="ui-content ">
28
+ < a href ="#page2 " data-transition ="slide " class ="ui-btn ui-corner-all ui-btn-inline "> Go To Page 2</ a >
29
+ </ div >
30
+ </ div >
31
+ < div data-role ="page " id ="page2 ">
32
+ < div data-role ="header ">
33
+ < h1 > Page 2</ h1 >
34
+ </ div >
35
+ < div role ="main " class ="ui-content ">
36
+ < a href ="#page1 " data-rel ="back " data-transition ="slide " class ="ui-btn ui-corner-all ui-btn-inline "> Go Back To Page 1</ a >
37
+ </ div >
38
+ </ div >
39
+ </ body >
40
+ </ html >
You can’t perform that action at this time.
0 commit comments