Skip to content

Commit c11bf5f

Browse files
committed
Demos: Changed from H2 to H3 to avoid collapsible headers from showing up in section nav
1 parent 1c1af41 commit c11bf5f

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

docs/demos/widgets/collapsibles/index.html

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ <h4>Heading</h4>
4444
</div>
4545
</div><!--/demo-html -->
4646

47-
<h3>Theme</h3>
47+
<h2>Theme</h2>
4848

4949
<p>Add the <code>data-content-theme</code> attribute to set a theme for the content of the collapsible. To provide a stronger visual connection between the collapsible header and content, add the <code>data-content-theme</code> attribute to the wrapper and specify a theme swatch letter. This applies the swatch's border and <em>flat</em> background color (not the gradient) to the content block, removes the rounded corners from the bottom of the header, and gives the bottom of the content block rounded corners to visually group these elements.</p>
5050

@@ -55,7 +55,7 @@ <h4>Heading</h4>
5555
</div>
5656
</div><!--/demo-html -->
5757

58-
<h3>Expanded</h3>
58+
<h2>Expanded</h2>
5959

6060
<p>To expand the content when the page loads, add the <code>data-collapsed="false"</code> attribute to the wrapper.</p>
6161

@@ -71,7 +71,7 @@ <h4>Heading</h4>
7171
</div><!--/demo-html -->
7272

7373

74-
<h3>Mini sized</h3>
74+
<h2>Mini sized</h2>
7575

7676
<p>For a more compact version that is useful in toolbars and tight spaces, add the <code>data-mini="true"</code> attribute to the element to create a <a href="../forms/forms-all-mini.html">mini version</a>. </p>
7777

@@ -86,7 +86,7 @@ <h4>Heading</h4>
8686
</div>
8787
</div><!--/demo-html -->
8888

89-
<h3>Icons</h3>
89+
<h2>Icons</h2>
9090

9191
<p>The default icons of collapsible headings can be overridden by using the <code>data-collapsed-icon</code> and <code>data-expanded-icon</code> attributes. In the example below, <code>data-collapsed-icon="arrow-r"</code> and <code>data-expanded-icon="arrow-d"</code>.</p>
9292

@@ -109,7 +109,7 @@ <h3>I'm a header</h3>
109109
<p><code>data-iconpos="right"</code></p>
110110
</div>
111111

112-
<h3>Legend</h3>
112+
<h2>Legend</h2>
113113

114114
<p>For forms, use a <code>fieldset</code> and <code>legend</code> for the collapsible.</p>
115115
<div data-demo-html="true">
@@ -145,13 +145,13 @@ <h4>Heading</h4>
145145

146146

147147

148-
<h3>Set of individual collapsibles</h3>
148+
<h2>Set of individual collapsibles</h2>
149149

150150
<p>This is an example of a series of individual collapsibles. The difference with a "Collapsible Set" is that multiple collapsible rows can be open at once.</p>
151151

152152
<div data-demo-html="true">
153153
<div data-role="collapsible" data-theme="b" data-content-theme="d" data-inset="false">
154-
<h2>Pets</h2>
154+
<h3>Pets</h3>
155155
<ul data-role="listview">
156156
<li><a href="#">Canary</a></li>
157157
<li><a href="#">Cat</a></li>
@@ -162,7 +162,7 @@ <h2>Pets</h2>
162162
</ul>
163163
</div><!-- /collapsible -->
164164
<div data-role="collapsible" data-theme="b" data-content-theme="d" data-inset="false">
165-
<h2>Farm animals</h2>
165+
<h3>Farm animals</h3>
166166
<ul data-role="listview">
167167
<li><a href="#">Chicken</a></li>
168168
<li><a href="#">Cow</a></li>
@@ -173,7 +173,7 @@ <h2>Farm animals</h2>
173173
</ul>
174174
</div><!-- /collapsible -->
175175
<div data-role="collapsible" data-theme="b" data-content-theme="d" data-inset="false">
176-
<h2>Wild Animals</h2>
176+
<h3>Wild Animals</h3>
177177
<ul data-role="listview">
178178
<li><a href="#">Aardvark</a></li>
179179
<li><a href="#">Alligator</a></li>
@@ -191,7 +191,7 @@ <h2>Wild Animals</h2>
191191
<div data-demo-html="true" data-demo-css="true">
192192
<div id="demo-borders">
193193
<div data-role="collapsible" data-theme="e" data-content-theme="d" data-inset="false">
194-
<h2>Pets</h2>
194+
<h3>Pets</h3>
195195
<ul data-role="listview">
196196
<li><a href="#">Canary</a></li>
197197
<li><a href="#">Cat</a></li>
@@ -202,7 +202,7 @@ <h2>Pets</h2>
202202
</ul>
203203
</div><!-- /collapsible -->
204204
<div data-role="collapsible" data-theme="e" data-content-theme="d" data-inset="false">
205-
<h2>Farm animals</h2>
205+
<h3>Farm animals</h3>
206206
<ul data-role="listview">
207207
<li><a href="#">Chicken</a></li>
208208
<li><a href="#">Cow</a></li>

0 commit comments

Comments
 (0)