<li><a href="#forms">Forms</a></li>
<li><a href="#toggles">Toggles</a></li>
<li><a href="#popovers">Popovers</a></li>
+ <li><a href="#modals">Modals</a></li>
<li><a href="#sliders">Sliders</a></li>
<li><a href="#push">Push</a></li>
</ul>
<header class="docs-outer-wrapper docs-header">
<div class="docs-inner-wrapper">
<hgroup class="docs-header-text">
- <h2 class="docs-header-subtitle">Prototype iPhone apps with simple HTML, CSS and JS components.</h2>
- <a data-ignore="push" href="#" class="docs-btn" onClick="_gaq.push(['_trackEvent', 'Downloads', 'V1.0']);">Download Ratchet</a>
+ <h2 class="docs-header-subtitle">Prototype iPhone apps with simple HTML, CSS, and JS components.</h2>
+ <a data-ignore="push" href="http://maker.github.com/ratchet/ratchet.zip" class="docs-btn" onClick="_gaq.push(['_trackEvent', 'Downloads', 'V1.0']);">Download Ratchet</a>
</hgroup>
</div>
<section class="social">
<nav class="bar-tab">
<ul class="tab-inner">
<li class="tab-item active">
- <a>
+ <a href="#">
<img class="tab-icon" src="img/icon-home.png">
<div class="tab-label">Label</div>
</a>
</li>
<li class="tab-item">
- <a>
+ <a href="#">
<img class="tab-icon" src="img/icon-profile.png">
<div class="tab-label">Label</div>
</a>
</li>
<li class="tab-item">
- <a>
+ <a href="#">
<img class="tab-icon" src="img/icon-messages.png">
<div class="tab-label">Label</div>
</a>
</li>
<li class="tab-item">
- <a>
+ <a href="#">
<img class="tab-icon" src="img/icon-hamburger.png">
<div class="tab-label">Label</div>
</a>
</li>
<li class="tab-item">
- <a href="http://starwars.com">
+ <a href="#">
<img class="tab-icon" src="img/icon-settings.png">
<div class="tab-label">Label</div>
</a>
<nav class="bar-tab">
<ul class="tab-inner">
<li class="tab-item active">
- <a href="">
+ <a href="#">
<img class="tab-icon" src="img/icon-home.png">
<div class="tab-label">Label</div>
</a>
</li>
<li class="tab-item">
- <a href="">
+ <a href="#">
<img class="tab-icon" src="img/icon-profile.png">
<div class="tab-label">Label</div>
</a>
</li>
<li class="tab-item">
- <a href="">
+ <a href="#">
<img class="tab-icon" src="img/icon-messages.png">
<div class="tab-label">Label</div>
</a>
</li>
<li class="tab-item">
- <a href="">
+ <a href="#">
<img class="tab-icon" src="img/icon-hamburger.png">
<div class="tab-label">Label</div>
</a>
</li>
<li class="tab-item">
- <a href="">
+ <a href="#">
<img class="tab-icon" src="img/icon-settings.png">
<div class="tab-label">Label</div>
</a>
</pre>
</article>
+
+ <!-- Modals -->
+ <article class="component" id="modals">
+ <h3 class="component-title">Modals</h3>
+
+ <div class="component-example">
+
+ </div>
+
+<pre class="prettyprint">
+<a href="#myModal" class="button">Open modal</a>
+
+<div id="myModal" class="modal">
+ <header class="bar-title">
+ <h1 class="title">Modal</h1>
+ <a class="button" href="#myModal">
+ Close
+ </a>
+ </header>
+
+ <div class="content content-padded">
+ <p>The contents of my modal</p>
+ </div>
+</div>
+</pre>
+
+ <p class="component-description">Modals are designed to only fire from links. Set the value of the toggle links href to the id of a modal.</p>
+
+ </article>
<!-- Slider -->
<article class="component" id="sliders">
<ol class="steps">
<li class="step">
<h3 class="step-title">1. Fixed bars come first</h3>
- <p class="step-description">All fixed bars (<code>.bar-title, .bar-tab, .bar-header-secondary, .bar-footer)</code>) should always be the first thing in the <code><body></code> of the page. This is really important!</p>
+ <p class="step-description">All fixed bars (<code>.bar-title, .bar-tab, .bar-header-secondary, .bar-footer</code>) should always be the first thing in the <code><body></code> of the page. This is really important!</p>
</li>
<li class="step">
<h3 class="step-title">2. Everything else goes in <code>.content</code></h3>
- <p class="step-description">Anything that's not a <code>.bar-title</code> or <code>.bar-tab</code> should be put in a div with the class "<code>content</code>". Put this div after the bars in the <code><body></code> tag. The <code>.content</code> div is what actually scrolls in a Ratchet prototype.</p>
+ <p class="step-description">Anything that's not a <code>.bar-</code> should be put in a div with the class "<code>content</code>". Put this div after the bars in the <code><body></code> tag. The <code>.content</code> div is what actually scrolls in a Ratchet prototype.</p>
</li>
<li class="step">
<h3 class="step-title">3. Don't forget your meta tags</h3>