aboutsummaryrefslogtreecommitdiff
path: root/docs/components.html
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2012-07-27 10:06:54 -0700
committerMark Otto <[email protected]>2012-07-27 10:06:54 -0700
commit9d5c4312232ebb53b2499ed495851c0d61eb648c (patch)
treeee602408a1cd0bb79afd0cfd59cca7f0ede8df0b /docs/components.html
parent1e9b4506196bd448c4038151964733ca524c10bb (diff)
downloadbootstrap-9d5c4312232ebb53b2499ed495851c0d61eb648c.tar.xz
bootstrap-9d5c4312232ebb53b2499ed495851c0d61eb648c.zip
add basic support for sub menus in dropdown menus
Diffstat (limited to 'docs/components.html')
-rw-r--r--docs/components.html19
1 files changed, 10 insertions, 9 deletions
diff --git a/docs/components.html b/docs/components.html
index 181a8cbfc..c36eec940 100644
--- a/docs/components.html
+++ b/docs/components.html
@@ -122,7 +122,16 @@
<li><a tabindex="-1" href="#">Another action</a></li>
<li><a tabindex="-1" href="#">Something else here</a></li>
<li class="divider"></li>
- <li><a tabindex="-1" href="#">Separated link</a></li>
+ <li class="dropdown-submenu">
+ <a tabindex="-1" href="#">Separated link</a>
+ <ul class="dropdown-menu">
+ <li><a tabindex="-1" href="#">Second level link</a></li>
+ <li><a tabindex="-1" href="#">Second level link</a></li>
+ <li><a tabindex="-1" href="#">Second level link</a></li>
+ <li><a tabindex="-1" href="#">Second level link</a></li>
+ <li><a tabindex="-1" href="#">Second level link</a></li>
+ </ul>
+ </li>
</ul>
</div>
</div>
@@ -136,10 +145,6 @@
&lt;/ul&gt;
</pre>
-
- <hr class="bs-docs-separator">
-
-
<h2>Markup</h2>
<p>Looking at just the dropdown menu, here's the required HTML. You need to wrap the dropdown's trigger and the dropdown menu within <code>.dropdown</code>, or another element that declares <code>position: relative;</code>. Then just create the menu.</p>
@@ -156,10 +161,6 @@
&lt;/div&gt;
</pre>
-
- <hr class="bs-docs-separator">
-
-
<h2>Options</h2>
<p>...</p>