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
Copy file name to clipboardexpand all lines: index.html
+2-36
Original file line number
Diff line number
Diff line change
@@ -24,40 +24,6 @@
24
24
25
25
<bodyonload="init()">
26
26
27
-
<!-- Start of firstasdadas page: #one -->
28
-
<divdata-role="page" id="one">
29
-
30
-
<divdata-role="header">
31
-
<h1>Multi-page</h1>
32
-
</div><!-- /header -->
33
-
34
-
<divdata-role="content" >
35
-
<h2>One</h2>
36
-
37
-
<p>I have an <code>id</code> of "one" on my page container. I'm first in the source order so I'm shown when the page loads.</p>
38
-
39
-
<p>This is a multi-page boilerplate template that you can copy to build your first jQuery Mobile page. This template contains multiple "page" containers inside, unlike a <ahref="page-template.html"> single page template</a> that has just one page within it.</p>
40
-
<p>Just view the source and copy the code to get started. All the CSS and JS is linked to the jQuery CDN versions so this is super easy to set up. Remember to include a meta viewport tag in the head to set the zoom level.</p>
41
-
<p>You link to internal pages by referring to the <code>id</code> of the page you want to show. For example, to <ahref="#two" >link</a> to the page with an <code>id</code> of "two", my link would have a <code>href="#two"</code> in the code.</p>
<p>I have an <code>id</code> of "one" on my page container. I'm first in the source order so I'm shown when the page loads.</p>
38
+
39
+
<p>This is a multi-page boilerplate template that you can copy to build your first jQuery Mobile page. This template contains multiple "page" containers inside, unlike a <ahref="page-template.html"> single page template</a> that has just one page within it.</p>
40
+
<p>Just view the source and copy the code to get started. All the CSS and JS is linked to the jQuery CDN versions so this is super easy to set up. Remember to include a meta viewport tag in the head to set the zoom level.</p>
41
+
<p>You link to internal pages by referring to the <code>id</code> of the page you want to show. For example, to <ahref="#two" >link</a> to the page with an <code>id</code> of "two", my link would have a <code>href="#two"</code> in the code.</p>
<p>I have an id of "popup" on my page container and only look like a dialog because the link to me had a <code>data-rel="dialog"</code> attribute which gives me this inset look and a <code>data-transition="pop"</code> attribute to change the transition to pop. Without this, I'd be styled as a normal page.</p>
75
+
<p><ahref="#one" data-rel="back" data-role="button" data-inline="true" data-icon="back">Back to page "one"</a></p>
0 commit comments