Skip to content
Browse files

Fix header links. Clean up jq-mobile docs

  • Loading branch information...
1 parent a5dbf48 commit 53867b3506672bbfd48ac29c047c50c796c229c4 @choptastic choptastic committed
View
6 doc/html/actions.html
@@ -7,7 +7,7 @@
<meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"/>
<meta name="title" content="Nitrogen 2.x Documentation"/>
<meta name="generator" content="Org-mode"/>
-<meta name="generated" content="2012-10-18 03:26:13 CDT"/>
+<meta name="generated" content="2012-10-31 21:51:19 CDT"/>
<meta name="author" content="Rusty Klophaus (@rustyio)"/>
<meta name="description" content=""/>
<meta name="keywords" content=""/>
@@ -94,7 +94,7 @@
<div id="content">
<h1 class="title">Nitrogen 2.x Documentation</h1>
-<p><a href="./index.html">Getting Started</a> | <a href="./api.html">API</a> | <a href="./elements.html">Elements</a> | <b>Actions</b> | <a href="./validators.html">Validators</a> | <a href="./handlers.html">Handlers</a> | <a href="./config.html">Configuration Options</a> | <a href="../about.html">About</a>
+<p><a href="./index.html">Getting Started</a> | <a href="./api.html">API</a> | <a href="./elements.html">Elements</a> | <b>Actions</b> | <a href="./validators.html">Validators</a> | <a href="./handlers.html">Handlers</a> | <a href="./config.html">Configuration Options</a> | <a href="./about.html">About</a>
</p>
@@ -217,7 +217,7 @@ <h2 id="sec-5"><span class="section-number-2">5</span> See Also</h2>
</div>
<div id="postamble">
-<p class="date">Date: 2012-10-18 03:26:13 CDT</p>
+<p class="date">Date: 2012-10-31 21:51:19 CDT</p>
<p class="author">Author: Rusty Klophaus (@rustyio)</p>
<p class="creator">Org version 7.8.02 with Emacs version 23</p>
<a href="http://validator.w3.org/check?uri=referer">Validate XHTML 1.0</a>
View
6 doc/html/api.html
@@ -7,7 +7,7 @@
<meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"/>
<meta name="title" content="Nitrogen 2.x Documentation"/>
<meta name="generator" content="Org-mode"/>
-<meta name="generated" content="2012-10-18 03:26:12 CDT"/>
+<meta name="generated" content="2012-10-31 21:51:18 CDT"/>
<meta name="author" content="Rusty Klophaus (@rustyio)"/>
<meta name="description" content=""/>
<meta name="keywords" content=""/>
@@ -95,7 +95,7 @@
<div id="content">
<h1 class="title">Nitrogen 2.x Documentation</h1>
-<p><a href="./index.html">Getting Started</a> | <b>API</b> | <a href="./elements.html">Elements</a> | <a href="./actions.html">Actions</a> | <a href="./validators.html">Validators</a> | <a href="./handlers.html">Handlers</a> | <a href="./config.html">Configuration Options</a> | <a href="../about.html">About</a>
+<p><a href="./index.html">Getting Started</a> | <b>API</b> | <a href="./elements.html">Elements</a> | <a href="./actions.html">Actions</a> | <a href="./validators.html">Validators</a> | <a href="./handlers.html">Handlers</a> | <a href="./config.html">Configuration Options</a> | <a href="./about.html">About</a>
</p>
@@ -1514,7 +1514,7 @@ <h3 id="sec-15-2"><span class="section-number-3"></span> wf:config(Key, DefaultV
</div>
<div id="postamble">
-<p class="date">Date: 2012-10-18 03:26:12 CDT</p>
+<p class="date">Date: 2012-10-31 21:51:18 CDT</p>
<p class="author">Author: Rusty Klophaus (@rustyio)</p>
<p class="creator">Org version 7.8.02 with Emacs version 23</p>
<a href="http://validator.w3.org/check?uri=referer">Validate XHTML 1.0</a>
View
6 doc/html/elements.html
@@ -7,7 +7,7 @@
<meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"/>
<meta name="title" content="Nitrogen 2.x Documentation"/>
<meta name="generator" content="Org-mode"/>
-<meta name="generated" content="2012-10-18 03:24:27 CDT"/>
+<meta name="generated" content="2012-10-31 21:51:02 CDT"/>
<meta name="author" content="Rusty Klophaus (@rustyio)"/>
<meta name="description" content=""/>
<meta name="keywords" content=""/>
@@ -94,7 +94,7 @@
<div id="content">
<h1 class="title">Nitrogen 2.x Documentation</h1>
-<p><a href="./index.html">Getting Started</a> | <a href="./api.html">API</a> | <b>Elements</b> | <a href="./actions.html">Actions</a> | <a href="./validators.html">Validators</a> | <a href="./handlers.html">Handlers</a> | <a href="./config.html">Configuration Options</a> | <a href="../about.html">About</a>
+<p><a href="./index.html">Getting Started</a> | <a href="./api.html">API</a> | <b>Elements</b> | <a href="./actions.html">Actions</a> | <a href="./validators.html">Validators</a> | <a href="./handlers.html">Handlers</a> | <a href="./config.html">Configuration Options</a> | <a href="./about.html">About</a>
<div class=headline>Nitrogen Elements</div>
</p>
@@ -312,7 +312,7 @@ <h2 id="sec-8"><span class="section-number-2">8</span> See Also</h2>
</div>
<div id="postamble">
-<p class="date">Date: 2012-10-18 03:24:27 CDT</p>
+<p class="date">Date: 2012-10-31 21:51:02 CDT</p>
<p class="author">Author: Rusty Klophaus (@rustyio)</p>
<p class="creator">Org version 7.8.02 with Emacs version 23</p>
<a href="http://validator.w3.org/check?uri=referer">Validate XHTML 1.0</a>
View
6 doc/html/elements/jquery_mobile.html
@@ -7,7 +7,7 @@
<meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"/>
<meta name="title" content="jQuery Mobile Elements"/>
<meta name="generator" content="Org-mode"/>
-<meta name="generated" content="2012-10-18 03:25:19 CDT"/>
+<meta name="generated" content="2012-10-31 22:46:06 CDT"/>
<meta name="author" content="Jesse Gumm (@jessegumm)"/>
<meta name="description" content=""/>
<meta name="keywords" content=""/>
@@ -148,7 +148,7 @@ <h3 id="sec-1-2"><span class="section-number-3"></span> Attributes</h3>
<dt>theme - (<i>atom</i>)</dt><dd>Sets the jQuery Mobile Swatch Letter. Can be a-z.
</dd>
-<dt>data<sub>fields</sub> - (<i>[{field, Attribute},&hellip;]</i>)</dt><dd>Sets HTML5 data attributes, which are commonly used for jQuery mobile integration. While most Nitrogen mobile elements already include common data attributes (such as 'data-role', 'data-mini' or 'data-theme', etc), this allows the user to add ones that might not be immediately supported by Nitrogen. See the <a href="http://jquerymobile.com/test/docs/api/data-attributes.html">jQuery Mobile data attributes</a>
+<dt>data_fields - (<i>[{field, Attribute},&hellip;]</i>)</dt><dd>Sets HTML5 data attributes, which are commonly used for jQuery mobile integration. While most Nitrogen mobile elements already include common data attributes (such as 'data-role', 'data-mini' or 'data-theme', etc), this allows the user to add ones that might not be immediately supported by Nitrogen. See the <a href="http://jquerymobile.com/test/docs/api/data-attributes.html">jQuery Mobile data attributes</a>
</dd>
</dl>
@@ -179,7 +179,7 @@ <h3 id="sec-1-3"><span class="section-number-3"></span> See Also</h3>
</div>
<div id="postamble">
-<p class="date">Date: 2012-10-18 03:25:19 CDT</p>
+<p class="date">Date: 2012-10-31 22:46:06 CDT</p>
<p class="author">Author: Jesse Gumm (@jessegumm)</p>
<p class="creator">Org version 7.8.02 with Emacs version 23</p>
<a href="http://validator.w3.org/check?uri=referer">Validate XHTML 1.0</a>
View
6 doc/html/handlers.html
@@ -7,7 +7,7 @@
<meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"/>
<meta name="title" content="Nitrogen Handlers"/>
<meta name="generator" content="Org-mode"/>
-<meta name="generated" content="2012-10-18 03:24:06 CDT"/>
+<meta name="generated" content="2012-10-31 21:51:00 CDT"/>
<meta name="author" content="Rusty Klophaus(@rustyio), Jesse Gumm (@jessegumm)"/>
<meta name="description" content=""/>
<meta name="keywords" content=""/>
@@ -94,7 +94,7 @@
<div id="content">
<h1 class="title">Nitrogen Handlers</h1>
-<p><a href="./index.html">Getting Started</a> | <a href="./api.html">API</a> | <a href="./elements.html">Elements</a> | <a href="./actions.html">Actions</a> | <a href="./validators.html">Validators</a> | <b>Handlers</b> | <a href="./config.html">Configuration Options</a> | <a href="../about.html">About</a>
+<p><a href="./index.html">Getting Started</a> | <a href="./api.html">API</a> | <a href="./elements.html">Elements</a> | <a href="./actions.html">Actions</a> | <a href="./validators.html">Validators</a> | <b>Handlers</b> | <a href="./config.html">Configuration Options</a> | <a href="./about.html">About</a>
</p>
@@ -296,7 +296,7 @@ <h4 id="sec-4-3"><span class="section-number-4"></span> Handlers that possibly r
</div>
<div id="postamble">
-<p class="date">Date: 2012-10-18 03:24:06 CDT</p>
+<p class="date">Date: 2012-10-31 21:51:00 CDT</p>
<p class="author">Author: Rusty Klophaus(@rustyio), Jesse Gumm (@jessegumm)</p>
<p class="creator">Org version 7.8.02 with Emacs version 23</p>
<a href="http://validator.w3.org/check?uri=referer">Validate XHTML 1.0</a>
View
28 doc/html/jquery_mobile_integration.html
@@ -7,7 +7,7 @@
<meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"/>
<meta name="title" content="Nitrogen's jQuery Mobile Integration Guide"/>
<meta name="generator" content="Org-mode"/>
-<meta name="generated" content="2012-10-18 03:24:04 CDT"/>
+<meta name="generated" content="2012-10-31 22:44:47 CDT"/>
<meta name="author" content="Jesse Gumm (@jessegumm)"/>
<meta name="description" content=""/>
<meta name="keywords" content=""/>
@@ -60,7 +60,7 @@
font-weight:bold; }
/*]]>*/-->
</style>
-<LINK href='../stylesheet.css' rel='stylesheet' type='text/css' />
+<LINK href='stylesheet.css' rel='stylesheet' type='text/css' />
<script type="text/javascript">
<!--/*--><![CDATA[/*><!--*/
function CodeHighlightOn(elem, id)
@@ -94,7 +94,7 @@
<div id="content">
<h1 class="title">Nitrogen's jQuery Mobile Integration Guide</h1>
-<p><a href="./index.html">Getting Started</a> | *<a href="./api.html">API</a>* | <a href="./elements.html">Elements</a> | <a href="./actions.html">Actions</a> | <a href="./validators.html">Validators</a> | <a href="./handlers.html">Handlers</a> | <a href="./config.html">Configuration Options</a> | <a href="../about.html">About</a>
+<p><a href="./index.html">Getting Started</a> | <a href="./api.html"><b>API</b></a> | <a href="./elements.html">Elements</a> | <a href="./actions.html">Actions</a> | <a href="./validators.html">Validators</a> | <a href="./handlers.html">Handlers</a> | <a href="./config.html">Configuration Options</a> | <a href="./about.html">About</a>
</p>
<div id="table-of-contents">
@@ -123,7 +123,7 @@ <h3 id="sec-1-1"><span class="section-number-3"></span> Include the necessary ja
<p>
- There are two new javascript files that must be included in order properly integrate with jQuery Mobile: jQuery mobile itself (jquery-mobile.js) and the Nitrogen jQuery Mobile script (nitrogen<sub>jqm</sub>.js), which makes necessary structural changes to the Nitrogen object.
+ There are two new javascript files that must be included in order properly integrate with jQuery Mobile: jQuery mobile itself (jquery-mobile.js) and the Nitrogen jQuery Mobile script (nitrogen_jqm.js), which makes necessary structural changes to the Nitrogen object.
</p>
<p>
The &lt;script&gt; elements in the head should look something like this. Please note that the order of these includes does matter.
@@ -162,7 +162,7 @@ <h4 id="sec-1-2-1"><span class="section-number-4"></span> Separate the page into
You want to separate the page into three specific divs with a wrapper div.
</p>
<p>
-The wrapper div must have the attributes 'data-role="page"' and 'id="pagediv"'
+The wrapper div must have the attributes data-role="page" and id="pagediv"
</p>
<p>
Contained within the Wrapper div are expected three other divs with the data-roles "header", "content" and "footer".
@@ -194,13 +194,19 @@ <h4 id="sec-1-2-1"><span class="section-number-4"></span> Separate the page into
</div>
<div id="outline-container-1-2-2" class="outline-4">
-<h4 id="sec-1-2-2"><span class="section-number-4"></span> The <a href="#script">script</a>] tag loading properly.</h4>
+<h4 id="sec-1-2-2"><span class="section-number-4"></span> The script tag with jquery mobile version</h4>
<div class="outline-text-4" id="text-1-2-2">
<p>
- The last step in order to ensure the proper loading of javascript from page to page while using transitions, is to include the <a href="#script">script</a>] section of the template inside a data-code attribute in the wrapper div.
+ The last step in order to ensure the proper loading of javascript from page to page while using transitions, is to add
+</p><pre class="example">
+[[[mobile_script]]]
+</pre>
+
+<p> to template inside a data-code attribute in the wrapper div.
</p>
+
<p>
This is demonstrated below:
</p>
@@ -208,7 +214,7 @@ <h4 id="sec-1-2-2"><span class="section-number-4"></span> The <a href="#script">
<pre class="src src-html">&lt;<span class="org-function-name">body</span>&gt;
- &lt;<span class="org-function-name">div</span> <span class="org-variable-name">data-role</span>=<span class="org-string">"page"</span> <span class="org-variable-name">id</span>=<span class="org-string">"pagediv"</span> <span class="org-variable-name">data-code</span>=<span class="org-string">"[[[script]]]"</span>&gt;
+ &lt;<span class="org-function-name">div</span> <span class="org-variable-name">data-role</span>=<span class="org-string">"page"</span> <span class="org-variable-name">id</span>=<span class="org-string">"pagediv"</span> <span class="org-variable-name">data-code</span>=<span class="org-string">"[[[mobile_script]]]"</span>&gt;
&lt;<span class="org-function-name">div</span> <span class="org-variable-name">data-role</span>=<span class="org-string">"header"</span>&gt;
&lt;<span class="org-function-name">h1</span>&gt;<span class="org-underline"><span class="org-bold">[[[page:title()]]]</span></span>&lt;/<span class="org-function-name">h1</span>&gt;
&lt;/<span class="org-function-name">div</span>&gt;
@@ -234,7 +240,7 @@ <h3 id="sec-1-3"><span class="section-number-3"></span> The Complete Template</h
<p>
-To see the completed jQuery mobile template, check out ./site/templates/mobile.html in your Nitrogen instllation, or <a href="https://github.com/nitrogen/nitrogen/blob/master/rel/overlay/common/site/templates/mobile.html">see it on github</a>.
+To see the completed jQuery mobile template, check out ./site/templates/mobile.html in your Nitrogen installation, or <a href="https://github.com/nitrogen/nitrogen/blob/master/rel/overlay/common/site/templates/mobile.html">see it on github</a>.
</p>
</div>
@@ -249,7 +255,7 @@ <h3 id="sec-1-4"><span class="section-number-3"></span> See Also</h3>
<li><a href="./base.html">base element</a>
</li>
-<li><a href="./jquery_mobile.html">jQuery Mobile Elements</a>
+<li><a href="./elements/jquery_mobile.html">jQuery Mobile Elements</a>
</li>
<li><a href="http://jquerymobile.com">jQuery Mobile Homepage</a>
@@ -262,7 +268,7 @@ <h3 id="sec-1-4"><span class="section-number-3"></span> See Also</h3>
</div>
<div id="postamble">
-<p class="date">Date: 2012-10-18 03:24:04 CDT</p>
+<p class="date">Date: 2012-10-31 22:44:47 CDT</p>
<p class="author">Author: Jesse Gumm (@jessegumm)</p>
<p class="creator">Org version 7.8.02 with Emacs version 23</p>
<a href="http://validator.w3.org/check?uri=referer">Validate XHTML 1.0</a>
View
6 doc/html/paths.html
@@ -7,7 +7,7 @@
<meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"/>
<meta name="title" content="Nitrogen 2.x Documentation"/>
<meta name="generator" content="Org-mode"/>
-<meta name="generated" content="2012-10-18 03:24:03 CDT"/>
+<meta name="generated" content="2012-10-31 21:50:56 CDT"/>
<meta name="author" content="Rusty Klophaus (@rustyio)"/>
<meta name="description" content=""/>
<meta name="keywords" content=""/>
@@ -94,7 +94,7 @@
<div id="content">
<h1 class="title">Nitrogen 2.x Documentation</h1>
-<p><a href="./index.html">Getting Started</a> | <b>API</b> | <a href="./elements.html">Elements</a> | <a href="./actions.html">Actions</a> | <a href="./validators.html">Validators</a> | <a href="./handlers.html">Handlers</a> | <a href="./config.html">Configuration Options</a> | <a href="../about.html">About</a>
+<p><a href="./index.html">Getting Started</a> | <b>API</b> | <a href="./elements.html">Elements</a> | <a href="./actions.html">Actions</a> | <a href="./validators.html">Validators</a> | <a href="./handlers.html">Handlers</a> | <a href="./config.html">Configuration Options</a> | <a href="./about.html">About</a>
</p>
@@ -838,7 +838,7 @@ <h3 id="sec-4-52"><span class="section-number-3"></span> Selector: :visible Sele
</div>
<div id="postamble">
-<p class="date">Date: 2012-10-18 03:24:03 CDT</p>
+<p class="date">Date: 2012-10-31 21:50:56 CDT</p>
<p class="author">Author: Rusty Klophaus (@rustyio)</p>
<p class="creator">Org version 7.8.02 with Emacs version 23</p>
<a href="http://validator.w3.org/check?uri=referer">Validate XHTML 1.0</a>
View
6 doc/html/validators.html
@@ -7,7 +7,7 @@
<meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"/>
<meta name="title" content="Nitrogen 2.x Documentation"/>
<meta name="generator" content="Org-mode"/>
-<meta name="generated" content="2012-10-18 03:23:11 CDT"/>
+<meta name="generated" content="2012-10-31 21:50:54 CDT"/>
<meta name="author" content="Rusty Klophaus (@rustyio)"/>
<meta name="description" content=""/>
<meta name="keywords" content=""/>
@@ -94,7 +94,7 @@
<div id="content">
<h1 class="title">Nitrogen 2.x Documentation</h1>
-<p><a href="./index.html">Getting Started</a> | <a href="./api.html">API</a> | <a href="./elements.html">Elements</a> | <a href="./actions.html">Actions</a> | <b>Validators</b> | <a href="./handlers.html">Handlers</a> | <a href="./config.html">Configuration Options</a> | <a href="../about.html">About</a>
+<p><a href="./index.html">Getting Started</a> | <a href="./api.html">API</a> | <a href="./elements.html">Elements</a> | <a href="./actions.html">Actions</a> | <b>Validators</b> | <a href="./handlers.html">Handlers</a> | <a href="./config.html">Configuration Options</a> | <a href="./about.html">About</a>
</p>
@@ -166,7 +166,7 @@ <h2 id="sec-3"><span class="section-number-2">3</span> Custom Validators</h2>
</div>
<div id="postamble">
-<p class="date">Date: 2012-10-18 03:23:11 CDT</p>
+<p class="date">Date: 2012-10-31 21:50:54 CDT</p>
<p class="author">Author: Rusty Klophaus (@rustyio)</p>
<p class="creator">Org version 7.8.02 with Emacs version 23</p>
<a href="http://validator.w3.org/check?uri=referer">Validate XHTML 1.0</a>
View
2 doc/org-mode/actions.org
@@ -5,7 +5,7 @@
#+OPTIONS: H:2 num:1 toc:1 \n:nil @:t ::t |:t ^:t -:t f:t *:t <:t
#+EMAIL:
-#+TEXT: [[file:./index.org][Getting Started]] | [[file:./api.org][API]] | [[file:./elements.org][Elements]] | *Actions* | [[file:./validators.org][Validators]] | [[file:./handlers.org][Handlers]] | [[file:./config.org][Configuration Options]] | [[file:../about.org][About]]
+#+TEXT: [[file:./index.org][Getting Started]] | [[file:./api.org][API]] | [[file:./elements.org][Elements]] | *Actions* | [[file:./validators.org][Validators]] | [[file:./handlers.org][Handlers]] | [[file:./config.org][Configuration Options]] | [[file:./about.org][About]]
#+HTML: <div class=headline>Nitrogen Actions</div>
* Base Action
View
2 doc/org-mode/api.org
@@ -6,7 +6,7 @@
#+OPTIONS: H:2 num:1 toc:1 \n:nil @:t ::t |:t ^:t -:t f:t *:t <:t
#+EMAIL:
-#+TEXT: [[file:./index.org][Getting Started]] | *API* | [[file:./elements.org][Elements]] | [[file:./actions.org][Actions]] | [[file:./validators.org][Validators]] | [[file:./handlers.org][Handlers]] | [[file:./config.org][Configuration Options]] | [[file:../about.org][About]]
+#+TEXT: [[file:./index.org][Getting Started]] | *API* | [[file:./elements.org][Elements]] | [[file:./actions.org][Actions]] | [[file:./validators.org][Validators]] | [[file:./handlers.org][Handlers]] | [[file:./config.org][Configuration Options]] | [[file:./about.org][About]]
#+HTML: <div class=headline>Nitrogen API</div>
* Index
View
2 doc/org-mode/elements.org
@@ -4,7 +4,7 @@
#+AUTHOR: Rusty Klophaus (@rustyio)
#+OPTIONS: H:2 num:1 toc:1 \n:nil @:t ::t |:t ^:t -:t f:t *:t <:t
#+EMAIL:
-#+TEXT: [[file:./index.org][Getting Started]] | [[file:./api.org][API]] | *Elements* | [[file:./actions.org][Actions]] | [[file:./validators.org][Validators]] | [[file:./handlers.org][Handlers]] | [[file:./config.org][Configuration Options]] | [[file:../about.org][About]]
+#+TEXT: [[file:./index.org][Getting Started]] | [[file:./api.org][API]] | *Elements* | [[file:./actions.org][Actions]] | [[file:./validators.org][Validators]] | [[file:./handlers.org][Handlers]] | [[file:./config.org][Configuration Options]] | [[file:./about.org][About]]
#+HTML: <div class=headline>Nitrogen Elements</div>
* Base Element
View
2 doc/org-mode/elements/jquery_mobile.org
@@ -26,7 +26,7 @@
+ theme - (/atom/) :: Sets the jQuery Mobile Swatch Letter. Can be a-z.
- + data_fields - (/[{field, Attribute},...]/) :: Sets HTML5 data attributes, which are commonly used for jQuery mobile integration. While most Nitrogen mobile elements already include common data attributes (such as 'data-role', 'data-mini' or 'data-theme', etc), this allows the user to add ones that might not be immediately supported by Nitrogen. See the [[http://jquerymobile.com/test/docs/api/data-attributes.html][jQuery Mobile data attributes]]
+ + data\_fields - (/[{field, Attribute},...]/) :: Sets HTML5 data attributes, which are commonly used for jQuery mobile integration. While most Nitrogen mobile elements already include common data attributes (such as 'data-role', 'data-mini' or 'data-theme', etc), this allows the user to add ones that might not be immediately supported by Nitrogen. See the [[http://jquerymobile.com/test/docs/api/data-attributes.html][jQuery Mobile data attributes]]
** See Also
View
2 doc/org-mode/handlers.org
@@ -5,7 +5,7 @@
#+OPTIONS: H:2 num:1 toc:1 \n:nil @:t ::t |:t ^:t -:t f:t *:t <:t
#+EMAIL:
-#+TEXT: [[file:./index.org][Getting Started]] | [[file:./api.org][API]] | [[file:./elements.org][Elements]] | [[file:./actions.org][Actions]] | [[file:./validators.org][Validators]] | *Handlers* | [[file:./config.org][Configuration Options]] | [[file:../about.org][About]]
+#+TEXT: [[file:./index.org][Getting Started]] | [[file:./api.org][API]] | [[file:./elements.org][Elements]] | [[file:./actions.org][Actions]] | [[file:./validators.org][Validators]] | *Handlers* | [[file:./config.org][Configuration Options]] | [[file:./about.org][About]]
#+HTML: <div class=headline>Nitrogen Handlers</div>
* Handler Overview
View
21 doc/org-mode/jquery_mobile_integration.org
@@ -1,10 +1,10 @@
# vim: ts=3 sw=3 et ft=org
#+TITLE: Nitrogen's jQuery Mobile Integration Guide
-#+STYLE: <LINK href='../stylesheet.css' rel='stylesheet' type='text/css' />
+#+STYLE: <LINK href='stylesheet.css' rel='stylesheet' type='text/css' />
#+AUTHOR: Jesse Gumm (@jessegumm)
#+OPTIONS: H:2 num:1 toc:1 \n:nil @:t ::t |:t ^:t -:t f:t *:t <:t
#+EMAIL:
-#+TEXT: [[file:./index.org][Getting Started]] | *[[file:./api.org][API]]* | [[file:./elements.org][Elements]] | [[file:./actions.org][Actions]] | [[file:./validators.org][Validators]] | [[file:./handlers.org][Handlers]] | [[file:./config.org][Configuration Options]] | [[file:../about.org][About]]
+#+TEXT: [[file:./index.org][Getting Started]] | [[file:./api.org][*API*]] | [[file:./elements.org][Elements]] | [[file:./actions.org][Actions]] | [[file:./validators.org][Validators]] | [[file:./handlers.org][Handlers]] | [[file:./config.org][Configuration Options]] | [[file:./about.org][About]]
* jQuery Mobile Integration
@@ -12,7 +12,7 @@
** Include the necessary javascript.
- There are two new javascript files that must be included in order properly integrate with jQuery Mobile: jQuery mobile itself (jquery-mobile.js) and the Nitrogen jQuery Mobile script (nitrogen_jqm.js), which makes necessary structural changes to the Nitrogen object.
+ There are two new javascript files that must be included in order properly integrate with jQuery Mobile: jQuery mobile itself (jquery-mobile.js) and the Nitrogen jQuery Mobile script (nitrogen\_jqm.js), which makes necessary structural changes to the Nitrogen object.
The <script> elements in the head should look something like this. Please note that the order of these includes does matter.
@@ -31,7 +31,7 @@
You want to separate the page into three specific divs with a wrapper div.
-The wrapper div must have the attributes 'data-role="page"' and 'id="pagediv"'
+The wrapper div must have the attributes data-role="page" and id="pagediv"
Contained within the Wrapper div are expected three other divs with the data-roles "header", "content" and "footer".
@@ -53,15 +53,18 @@ This is demonstrated below:
</body>
#+END_SRC
-*** The [[[script]]] tag loading properly.
+*** The script tag with jquery mobile version
+
+ The last step in order to ensure the proper loading of javascript from page to page while using transitions, is to add
+ : [[[mobile_script]]]
+ to template inside a data-code attribute in the wrapper div.
- The last step in order to ensure the proper loading of javascript from page to page while using transitions, is to include the [[[script]]] section of the template inside a data-code attribute in the wrapper div.
This is demonstrated below:
#+BEGIN_SRC html
<body>
- <div data-role="page" id="pagediv" data-code="[[[script]]]">
+ <div data-role="page" id="pagediv" data-code="[[[mobile_script]]]">
<div data-role="header">
<h1>[[[page:title()]]]</h1>
</div>
@@ -77,12 +80,12 @@ This is demonstrated below:
** The Complete Template
-To see the completed jQuery mobile template, check out ./site/templates/mobile.html in your Nitrogen instllation, or [[https://github.com/nitrogen/nitrogen/blob/master/rel/overlay/common/site/templates/mobile.html][see it on github]].
+To see the completed jQuery mobile template, check out ./site/templates/mobile.html in your Nitrogen installation, or [[https://github.com/nitrogen/nitrogen/blob/master/rel/overlay/common/site/templates/mobile.html][see it on github]].
** See Also
+ [[./base.html][base element]]
- + [[./jquery_mobile.html][jQuery Mobile Elements]]
+ + [[./elements/jquery_mobile.html][jQuery Mobile Elements]]
+ [[http://jquerymobile.com][jQuery Mobile Homepage]]
View
2 doc/org-mode/paths.org
@@ -5,7 +5,7 @@
#+OPTIONS: H:2 num:1 toc:1 \n:nil @:t ::t |:t ^:t -:t f:t *:t <:t
#+EMAIL:
-#+TEXT: [[file:./index.org][Getting Started]] | *API* | [[file:./elements.org][Elements]] | [[file:./actions.org][Actions]] | [[file:./validators.org][Validators]] | [[file:./handlers.org][Handlers]] | [[file:./config.org][Configuration Options]] | [[file:../about.org][About]]
+#+TEXT: [[file:./index.org][Getting Started]] | *API* | [[file:./elements.org][Elements]] | [[file:./actions.org][Actions]] | [[file:./validators.org][Validators]] | [[file:./handlers.org][Handlers]] | [[file:./config.org][Configuration Options]] | [[file:./about.org][About]]
#+HTML: <div class=headline>Nitrogen Paths</div>
* Overview
View
2 doc/org-mode/validators.org
@@ -5,7 +5,7 @@
#+OPTIONS: H:2 num:1 toc:1 \n:nil @:t ::t |:t ^:t -:t f:t *:t <:t
#+EMAIL:
-#+TEXT: [[file:./index.org][Getting Started]] | [[file:./api.org][API]] | [[file:./elements.org][Elements]] | [[file:./actions.org][Actions]] | *Validators* | [[file:./handlers.org][Handlers]] | [[file:./config.org][Configuration Options]] | [[file:../about.org][About]]
+#+TEXT: [[file:./index.org][Getting Started]] | [[file:./api.org][API]] | [[file:./elements.org][Elements]] | [[file:./actions.org][Actions]] | *Validators* | [[file:./handlers.org][Handlers]] | [[file:./config.org][Configuration Options]] | [[file:./about.org][About]]
#+HTML: <div class=headline>Nitrogen Validators</div>
* Required and Data Size

0 comments on commit 53867b3

Please sign in to comment.
Something went wrong with that request. Please try again.