aboutsummaryrefslogtreecommitdiff
path: root/docs/templates/pages/javascript.mustache
diff options
context:
space:
mode:
authorJacob Thornton <[email protected]>2012-05-16 19:09:57 -0700
committerJacob Thornton <[email protected]>2012-05-16 19:09:57 -0700
commita404ac33bb9e78323b84d0840735445579634b9e (patch)
treeaf7bad3f89b0fa7394f984b74b6d60e5bde15c8d /docs/templates/pages/javascript.mustache
parentb261f9781bbf31f499cb55c49451dc0c0ad43062 (diff)
downloadbootstrap-a404ac33bb9e78323b84d0840735445579634b9e.tar.xz
bootstrap-a404ac33bb9e78323b84d0840735445579634b9e.zip
modal accessibility tab control
Diffstat (limited to 'docs/templates/pages/javascript.mustache')
-rw-r--r--docs/templates/pages/javascript.mustache8
1 files changed, 7 insertions, 1 deletions
diff --git a/docs/templates/pages/javascript.mustache b/docs/templates/pages/javascript.mustache
index 1ae3ffa5a..3fec56d30 100644
--- a/docs/templates/pages/javascript.mustache
+++ b/docs/templates/pages/javascript.mustache
@@ -146,8 +146,9 @@
<h2>{{_i}}Live demo{{/i}}</h2>
<p>{{_i}}Toggle a modal via javascript by clicking the button below. It will slide down and fade in from the top of the page.{{/i}}</p>
+
<!-- sample modal content -->
- <div id="myModal" class="modal hide fade">
+ <div id="myModal" class="modal hide fade" tabindex="0">
<div class="modal-header">
<button class="close" data-dismiss="modal">&times;</button>
<h3>{{_i}}Modal Heading{{/i}}</h3>
@@ -156,6 +157,11 @@
<h4>{{_i}}Text in a modal{{/i}}</h4>
<p>Duis mollis, est non commodo luctus, nisi erat porttitor ligula, eget lacinia odio sem.</p>
+ <form class="well">
+ <label>Label name</label>
+ <input type="text" class="span3" placeholder="Type something…">
+ </form>
+
<h4>{{_i}}Popover in a modal{{/i}}</h4>
<p>{{_i}}This <a href="#" class="btn popover-test" title="A Title" data-content="And here's some amazing content. It's very engaging. right?">button</a> should trigger a popover on hover.{{/i}}</p>