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/about/getting-started.html
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -34,7 +34,7 @@ <h2>Getting Started with jQuery Mobile</h2>
34
34
35
35
<h2>Create a basic page template</h2>
36
36
<p>Pop open your favorite text editor, paste in the <ahref="../pages/page-anatomy.html" id="" title="page-anatomy">page template</a> below, save and open in a browser. You are now a mobile developer!</p>
37
-
<p>Here's what's in the template. In the <code>head</code>, a meta <code>viewport</code> tag sets the screen width to the pixel width of the device and references to jQuery, jQuery Mobile and the mobile theme stylesheet from the CDN add all the styles and scripts. jQuery Mobile 1.1.1 works with both 1.6.4 and 1.7.2 versions of jQuery core. </p>
37
+
<p>Here's what's in the template. In the <code>head</code>, a meta <code>viewport</code> tag sets the screen width to the pixel width of the device and references to jQuery, jQuery Mobile and the mobile theme stylesheet from the CDN add all the styles and scripts. jQuery Mobile 1.1.2 works with both 1.6.4 and 1.7.2 versions of jQuery core. </p>
38
38
<p>In the <code>body</code>, a div with a <code>data-role</code> of <code>page</code> is the wrapper used to delineate a page, and the header bar (<code>data-role="header"</code>) and content region (<code>data-role="content"</code>) are added inside to create a basic page (these are both optional). These <code>data-</code> attributes are HTML5 attributes are used throughout jQuery Mobile to transform basic markup into an enhanced and styled widget.</p>
39
39
40
40
<pre><code>
@@ -43,9 +43,9 @@ <h2>Create a basic page template</h2>
Copy file name to clipboardExpand all lines: docs/pages/page-anatomy.html
+5-5Lines changed: 5 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -31,7 +31,7 @@ <h1>Anatomy of a Page</h1>
31
31
<h2>Mobile page structure</h2>
32
32
33
33
<p>A jQuery Mobile site must start with an HTML5 'doctype' to take full advantage of all of the framework's features. (Older devices with browsers that don't understand HTML5 will safely ignore the 'doctype' and various custom attributes.) </p>
34
-
<p>In the 'head', references to jQuery, jQuery Mobile and the mobile theme CSS are all required to start things off. jQuery Mobile 1.1.1 works with both 1.6.4 and 1.7.2 versions of jQuery core. We recommend linking to the files hosted on the jQuery CDN for best performance: </p>
34
+
<p>In the 'head', references to jQuery, jQuery Mobile and the mobile theme CSS are all required to start things off. jQuery Mobile 1.1.2 works with both 1.6.4 and 1.7.2 versions of jQuery core. We recommend linking to the files hosted on the jQuery CDN for best performance: </p>
0 commit comments