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
+2-2Lines changed: 2 additions & 2 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.2 (1.2.1) works with versions of jQuery core from 1.7.0 to 1.8.2.</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.2 (1.2.1) works with versions of jQuery core from 1.7.0 to 1.8.3.</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 used throughout jQuery Mobile to transform basic markup into an enhanced and styled widget.</p>
39
39
40
40
<pre><code>
@@ -44,7 +44,7 @@ <h2>Create a basic page template</h2>
Copy file name to clipboardExpand all lines: docs/pages/page-anatomy.html
+3-3Lines changed: 3 additions & 3 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.2 (1.2.1) works with versions of jQuery core from 1.7.0 to 1.8.2. The easiest way to get started is to link to files hosted on the jQuery CDN or for best performance, <ahref="http://jquerymobile.com/download-builder/" rel="external">build a custom bundle</a>:</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.2 (1.2.1) works with versions of jQuery core from 1.7.0 to 1.8.3. The easiest way to get started is to link to files hosted on the jQuery CDN or for best performance, <ahref="http://jquerymobile.com/download-builder/" rel="external">build a custom bundle</a>:</p>
<pclass="intro"><strong>Welcome.</strong> jQuery Mobile is the easiest way to build sites and apps that are accessible on all popular smartphone, tablet and desktop devices. For jQuery 1.7.0 to 1.8.2.</p>
27
+
<pclass="intro"><strong>Welcome.</strong> jQuery Mobile is the easiest way to build sites and apps that are accessible on all popular smartphone, tablet and desktop devices. For jQuery 1.7.0 to 1.8.3.</p>
0 commit comments