mirror of
https://github.com/Hopiu/jquery-mobile.git
synced 2026-03-17 06:20:26 +00:00
Updated grammatical errors in docs
Changed "an" to "a" where appropriate
This commit is contained in:
parent
62bd20adb9
commit
1b588fa76d
4 changed files with 8 additions and 8 deletions
|
|
@ -40,7 +40,7 @@
|
|||
<h1>H1 Heading</h1>
|
||||
<p>This is a paragraph that contains <strong>strong</strong>, <em>emphasized</em> and <a href="index.html">linked</a> text. Here is more text so you can see how HTML markup works in content. Here is more text so you can see how HTML markup works in content.</p>
|
||||
<div data-role="collapsible" data-collapsed="true" data-theme="a">
|
||||
<h3>I'm an themed collapsible</h3>
|
||||
<h3>I'm a themed collapsible</h3>
|
||||
<p>I have <code>data-theme</code> attribute set manually on my container to set the color to match the content block I'm in. </p>
|
||||
</div><!-- /collapsible -->
|
||||
</div><!-- /themed container -->
|
||||
|
|
@ -50,7 +50,7 @@
|
|||
<h1>H1 Heading</h1>
|
||||
<p>This is a paragraph that contains <strong>strong</strong>, <em>emphasized</em> and <a href="index.html">linked</a> text. Here is more text so you can see how HTML markup works in content. Here is more text so you can see how HTML markup works in content.</p>
|
||||
<div data-role="collapsible" data-collapsed="true" data-theme="b">
|
||||
<h3>I'm an themed collapsible</h3>
|
||||
<h3>I'm a themed collapsible</h3>
|
||||
<p>I have <code>data-theme</code> attribute set manually on my container to set the color to match the content block I'm in. </p>
|
||||
</div><!-- /collapsible -->
|
||||
</div><!-- /themed container -->
|
||||
|
|
@ -60,7 +60,7 @@
|
|||
<h1>H1 Heading</h1>
|
||||
<p>This is a paragraph that contains <strong>strong</strong>, <em>emphasized</em> and <a href="index.html">linked</a> text. Here is more text so you can see how HTML markup works in content. Here is more text so you can see how HTML markup works in content.</p>
|
||||
<div data-role="collapsible" data-collapsed="true" data-theme="c">
|
||||
<h3>I'm an themed collapsible</h3>
|
||||
<h3>I'm a themed collapsible</h3>
|
||||
<p>I have <code>data-theme</code> attribute set manually on my container to set the color to match the content block I'm in. </p>
|
||||
</div><!-- /collapsible -->
|
||||
</div><!-- /themed container -->
|
||||
|
|
@ -70,7 +70,7 @@
|
|||
<h1>H1 Heading</h1>
|
||||
<p>This is a paragraph that contains <strong>strong</strong>, <em>emphasized</em> and <a href="index.html">linked</a> text. Here is more text so you can see how HTML markup works in content. Here is more text so you can see how HTML markup works in content.</p>
|
||||
<div data-role="collapsible" data-collapsed="true" data-theme="d">
|
||||
<h3>I'm an themed collapsible</h3>
|
||||
<h3>I'm a themed collapsible</h3>
|
||||
<p>I have <code>data-theme</code> attribute set manually on my container to set the color to match the content block I'm in. </p>
|
||||
</div><!-- /collapsible -->
|
||||
</div><!-- /themed container -->
|
||||
|
|
@ -80,7 +80,7 @@
|
|||
<h1>H1 Heading</h1>
|
||||
<p>This is a paragraph that contains <strong>strong</strong>, <em>emphasized</em> and <a href="index.html">linked</a> text. Here is more text so you can see how HTML markup works in content. Here is more text so you can see how HTML markup works in content.</p>
|
||||
<div data-role="collapsible" data-collapsed="true" data-theme="e">
|
||||
<h3>I'm an themed collapsible</h3>
|
||||
<h3>I'm a themed collapsible</h3>
|
||||
<p>I have <code>data-theme</code> attribute set manually on my container to set the color to match the content block I'm in. </p>
|
||||
</div><!-- /collapsible -->
|
||||
</div><!-- /themed container -->
|
||||
|
|
|
|||
|
|
@ -26,7 +26,7 @@
|
|||
<li><a href="docs/pages/index.html">[href="docs/pages/index.html"]</a></li>
|
||||
<li><a href="/docs/toolbars/index.html">[href="/docs/toolbars/index.html"]</a></li>
|
||||
<li><a href="#somelocalID">[href="#somelocalID"]</a></li>
|
||||
<li>Note: an full URL to the same-domain will also work</li>
|
||||
<li>Note: a full URL to the same-domain will also work</li>
|
||||
<li data-role="list-divider">Examples of links that trigger a refresh</li>
|
||||
<li><a href="docs/pages/index.html" data-ajax="false">[data-ajax="false"]</a></li>
|
||||
<li><a href="docs/pages/index.html" rel="external">[rel="external"]</a></li>
|
||||
|
|
|
|||
|
|
@ -61,7 +61,7 @@
|
|||
<p>Some plugins may choose to dynamically break a page's content into separate navigable pages, which can then be reached via deep links. One example of this would be the Listview plugin, which will break a nested UL (or OL) into separate pages, which are each given a data-url attribute so they can be linked to like any normal "page" in jQuery Mobile. However, in order to link to these pages, the page that generates them must first be requested from the server. To make this work, pages that are auto-generated by plugins use the following special data-url structure:
|
||||
<code><div data-url="page.html&subpageidentifier"></code></p>
|
||||
|
||||
<p>So, for example, a page generated by the listview plugin may have an data-url attribute like this: <code>data-url="artists.html&ui-page=listview-1"</code></p>
|
||||
<p>So, for example, a page generated by the listview plugin may have a data-url attribute like this: <code>data-url="artists.html&ui-page=listview-1"</code></p>
|
||||
|
||||
<p>When a page is requested, jQuery Mobile knows to split the URL at "&ui-page" and make an HTTP request to the portion of the URL before that key. In the case of the listview example mentioned above, the URL would look like this: http://example.com/artists.html&ui-page=listview-1
|
||||
...and jQuery Mobile would request artists.html, which would then generate its sub-pages, creating the div with data-url="artists.html&ui-page=listview-1", which it will then display as the active page.</p>
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@
|
|||
<div data-role="content">
|
||||
|
||||
<h2>Header structure</h2>
|
||||
<p>The <code>header</code> is an toolbar at the top of the page that usually contains the page title text and optional buttons positioned to the the left and/or right of the title for navigation or actions.</p>
|
||||
<p>The <code>header</code> is a toolbar at the top of the page that usually contains the page title text and optional buttons positioned to the the left and/or right of the title for navigation or actions.</p>
|
||||
|
||||
<p>The title text is normally an H1 heading element but it's possible to use any heading level (H1-H6) to allow for semantic flexibility. For example, a page containing multiple mobile 'pages' may use a H1 element on the home 'page' and a H2 element on the secondary pages. All heading levels are styled identically by default to maintain visual consistency.</p>
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue