|
19 | 19 |
|
20 | 20 | <div class="content">
|
21 | 21 | <div class="row-fluid">
|
22 |
| - <nav id="lefthand" class="span3"> |
| 22 | + <nav id="lefthand" class="span3" role="navigation"> |
23 | 23 | <ul id="lefthand-nav" class="nav nav-list">
|
24 | 24 | <li><a href="#init">Initialization</a></li>
|
| 25 | + <li><a href="#css">CSS</a></li> |
25 | 26 | <li><a href="#options">Options</a></li>
|
26 | 27 | <li><a href="#methods">Methods</a></li>
|
27 | 28 | <li><a href="#requirements">Requirements</a></li>
|
28 | 29 | <li><a href="#browser">Browser Support</a></li>
|
29 | 30 | <li><a href="#integration">Integration</a></li>
|
30 | 31 | </ul>
|
31 | 32 | </nav>
|
32 |
| - <div class="span9 main"> |
| 33 | + <div class="span9 main" role="main"> |
33 | 34 | <section id="init">
|
34 | 35 | <h2 class="page-header">Initialization</h2>
|
35 | 36 | <p class="lead">In this section you will learn how to intialize jQuery Steps and what will happen if you do that.</p>
|
|
86 | 87 |
|
87 | 88 | <p class="alert alert-info"><strong>Info:</strong> </p>
|
88 | 89 | </section>
|
| 90 | + <section id="css"> |
| 91 | + <h2 class="page-header">CSS</h2> |
| 92 | + <p class="lead">In this section you will learn about styling and the capabilities you have.</p> |
| 93 | + <h3>Transformation</h3> |
| 94 | + <p>With transformation is meant the transition of the initial <abbr title="Hypertext Markup Language">HTML</abbr> code |
| 95 | + to the transformed <abbr title="Hypertext Markup Language">HTML</abbr> code. |
| 96 | + So our initial code looks like that.</p> |
| 97 | +<pre class="prettyprint linenums"> |
| 98 | +<div id="wizard"> |
| 99 | + <h1>First Step</h1> |
| 100 | + <div>First Content</div> |
| 101 | + <h1>Second Step</h1> |
| 102 | + <div>Second Content</div> |
| 103 | +</div> |
| 104 | +</pre> |
| 105 | + <p>And after the transformation our resulting code looks like this.</p> |
| 106 | +<pre class="prettyprint linenums"> |
| 107 | +<div class="wizard clearfix" id="wizard" role="application"> |
| 108 | + <div class="steps clearfix"> |
| 109 | + <ul role="tablist"> |
| 110 | + <li class="first current" role="tab" aria-disabled="false" aria-selected="true"> |
| 111 | + <a id="steps-uid-1-t-0" aria-controls="steps-uid-1-p-0" href="#steps-uid-1-h-0"><span class="current-info audible">current step: </span><span class="number">1.</span> First Step</a> |
| 112 | + </li> |
| 113 | + <li class="disabled" role="tab" aria-disabled="true"> |
| 114 | + <a id="steps-uid-1-t-1" aria-controls="steps-uid-1-p-1" href="#steps-uid-1-h-1"><span class="number">2.</span> Second Step</a> |
| 115 | + </li> |
| 116 | + </ul> |
| 117 | + </div> |
| 118 | + <div class="content clearfix"> |
| 119 | + <h1 tabindex="-1" class="title current" id="steps-uid-1-h-0">First Step</h1> |
| 120 | + <div class="body current" id="steps-uid-1-p-0" role="tabpanel" aria-hidden="false" aria-labelledby="steps-uid-1-h-0" style="display: block;"> |
| 121 | + First Content |
| 122 | + </div> |
| 123 | + <h1 tabindex="-1" class="title" id="steps-uid-1-h-1">Second Step</h1> |
| 124 | + <div class="body" id="steps-uid-1-p-1" role="tabpanel" aria-hidden="true" aria-labelledby="steps-uid-1-h-1" style="display: none;"> |
| 125 | + Second Content |
| 126 | + </div> |
| 127 | + </div> |
| 128 | + <div class="actions clearfix"> |
| 129 | + <ul role="menu" aria-label="Pagination"> |
| 130 | + <li class="disabled" aria-disabled="true"> |
| 131 | + <a role="menuitem" href="#previous">Previous</a> |
| 132 | + </li> |
| 133 | + <li aria-disabled="false" aria-hidden="false"> |
| 134 | + <a role="menuitem" href="#next">Next</a> |
| 135 | + </li> |
| 136 | + <li aria-hidden="true" style="display: none;"> |
| 137 | + <a role="menuitem" href="#finish">Finish</a> |
| 138 | + </li> |
| 139 | + </ul> |
| 140 | + </div> |
| 141 | +</div> |
| 142 | +</pre> |
| 143 | + <p>The resulting or transformed code is just for showing you your capabilities and how it is structured.</p> |
| 144 | + <h3>CSS classes</h3> |
| 145 | + <p>A list of all <abbr title="Cascading Style Sheets">CSS</abbr> classes.</p> |
| 146 | + <table class="table table-bordered table-striped"> |
| 147 | + <colgroup> |
| 148 | + <col class="span3"> |
| 149 | + <col class="span9"> |
| 150 | + </colgroup> |
| 151 | + <thead> |
| 152 | + <tr> |
| 153 | + <th class="span3">Class name</th> |
| 154 | + <th class="span9">Description</th> |
| 155 | + </tr> |
| 156 | + </thead> |
| 157 | + <tbody> |
| 158 | + <tr> |
| 159 | + <td><code>wizard</code> *</td> |
| 160 | + <td>The main <abbr title="Cascading Style Sheets">CSS</abbr> class; it is set on the outer component wrapper.</td> |
| 161 | + </tr> |
| 162 | + <tr> |
| 163 | + <td><code>steps</code></td> |
| 164 | + <td></td> |
| 165 | + </tr> |
| 166 | + <tr> |
| 167 | + <td><code>content</code></td> |
| 168 | + <td></td> |
| 169 | + </tr> |
| 170 | + <tr> |
| 171 | + <td><code>actions</code></td> |
| 172 | + <td></td> |
| 173 | + </tr> |
| 174 | + <tr> |
| 175 | + <td><code>clearfix</code> *</td> |
| 176 | + <td></td> |
| 177 | + </tr> |
| 178 | + <tr> |
| 179 | + <td><code>current</code></td> |
| 180 | + <td>Marks the active step (the current step, content title and content body).</td> |
| 181 | + </tr> |
| 182 | + <tr> |
| 183 | + <td><code>current-info</code></td> |
| 184 | + <td>Adds more information for screenreader on the current step.</td> |
| 185 | + </tr> |
| 186 | + <tr> |
| 187 | + <td><code>audible</code></td> |
| 188 | + <td>Labels content that is important for screenreader but not for normal browser.</td> |
| 189 | + </tr> |
| 190 | + <tr> |
| 191 | + <td><code>disabled</code></td> |
| 192 | + <td></td> |
| 193 | + </tr> |
| 194 | + <tr> |
| 195 | + <td><code>first</code></td> |
| 196 | + <td></td> |
| 197 | + </tr> |
| 198 | + <tr> |
| 199 | + <td><code>last</code></td> |
| 200 | + <td></td> |
| 201 | + </tr> |
| 202 | + <tr> |
| 203 | + <td><code>error</code></td> |
| 204 | + <td></td> |
| 205 | + </tr> |
| 206 | + <tr> |
| 207 | + <td><code>done</code></td> |
| 208 | + <td></td> |
| 209 | + </tr> |
| 210 | + <tr> |
| 211 | + <td><code>number</code></td> |
| 212 | + <td></td> |
| 213 | + </tr> |
| 214 | + <tr> |
| 215 | + <td><code>body</code></td> |
| 216 | + <td></td> |
| 217 | + </tr> |
| 218 | + <tr> |
| 219 | + <td><code>title</code></td> |
| 220 | + <td></td> |
| 221 | + </tr> |
| 222 | + </tbody> |
| 223 | + </table> |
| 224 | + <p class="muted"> |
| 225 | + <small>* The <abbr title="Cascading Style Sheets">CSS</abbr> class name can be customized on initialization by using the options.</small> |
| 226 | + </p> |
| 227 | + </section> |
89 | 228 | <section id="options">
|
90 | 229 | <h2 class="page-header">Options</h2>
|
91 | 230 | <p class="lead">
|
92 |
| - |
| 231 | + Here you learn about customization. |
93 | 232 | </p>
|
94 | 233 | <h3>Appearance</h3>
|
95 | 234 | <table class="table table-bordered table-striped">
|
|
0 commit comments