diff options
| author | Mark Otto <[email protected]> | 2012-01-07 04:17:33 -0800 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2012-01-07 04:17:33 -0800 |
| commit | e594107f37ede1ea8bee05d8f4b22aeba89bf458 (patch) | |
| tree | c404db709831a1b4ec5d653067d95ce5967b87fc /docs/javascript.html | |
| parent | 5ba7c14afe0fbe1eb9ba18e6a06cc298362ec159 (diff) | |
| download | bootstrap-e594107f37ede1ea8bee05d8f4b22aeba89bf458.tar.xz bootstrap-e594107f37ede1ea8bee05d8f4b22aeba89bf458.zip | |
change up the z-indexing and add some popover/twipsy content to the test modal on the js docs to help avoid future bugs
Diffstat (limited to 'docs/javascript.html')
| -rw-r--r-- | docs/javascript.html | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/docs/javascript.html b/docs/javascript.html index 4671dd6eb..0aebf8609 100644 --- a/docs/javascript.html +++ b/docs/javascript.html @@ -235,7 +235,14 @@ $('#myModal').on('hidden', function () { <h3>Modal Heading</h3> </div> <div class="modal-body"> - <p>One fine body…</p> + <h4>Text in a modal</h4> + <p>Duis mollis, est non commodo luctus, nisi erat porttitor ligula, eget lacinia odio sem.</p> + + <h4>Popover in a modal</h4> + <p>This <a href="#" class="btn" rel="popover" title="A Title" data-content="And here's some amazing content. It's very engaging. right?">button</a> should trigger a popover on hover.</p> + + <h4>Twipsy tooltips in a modal</h4> + <p><a href="#" class="twipsy-test" title="Tooltip">This link</a> and <a href="#" class="twipsy-test" title="Tooltip">that link</a> should have Twipsy tooltips on hover.</p> </div> <div class="modal-footer"> <a href="#" class="btn primary">Save changes</a> @@ -1144,6 +1151,7 @@ $('.myCarousel').carousel({ $('.twipsy-demo.well').twipsy({ selector: "a[rel=twipsy]" }) + $('.twipsy-test').twipsy() // popover demo $("a[rel=popover]") |
