diff options
| author | Jacob Thornton <[email protected]> | 2011-11-24 20:27:18 -0800 |
|---|---|---|
| committer | Jacob Thornton <[email protected]> | 2011-11-24 20:27:18 -0800 |
| commit | 53ff2682cd95dd96fc1fbf234d7b0530127a464b (patch) | |
| tree | 4200c15f0d00b75d0f6edc633da8689e806cb881 /docs/javascript.html | |
| parent | b14f551c9c1498247dc69251f8eebfde3b1002f6 (diff) | |
| download | bootstrap-53ff2682cd95dd96fc1fbf234d7b0530127a464b.tar.xz bootstrap-53ff2682cd95dd96fc1fbf234d7b0530127a464b.zip | |
clean up scrollspy a bit - add public api method
Diffstat (limited to 'docs/javascript.html')
| -rw-r--r-- | docs/javascript.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/javascript.html b/docs/javascript.html index aa13d523d..f625e2323 100644 --- a/docs/javascript.html +++ b/docs/javascript.html @@ -201,7 +201,7 @@ <h3>Markup</h3> <p>You can activate modals on your page easily without having to write a single line of javascript. Just set <code>data-toggle="modal"</code> on a controller element with a <code>data-target="#foo"</code> which corresponds to a modal element id, and when clicked, it will launch your modal. To add modal options, just include them as additoinal data attributes.</p> <pre class="prettyprint linenums"> -<a class="btn" data-toggle="modal" data-target="my-modal" >Launch Modal</a> +<a class="btn" data-toggle="modal" data-target="#myModal" >Launch Modal</a> </pre> <p><span class="label notice">Notice</span> If you want your modal to animate in and out, just add a <code>.fade</code> class to the <code>.modal</code> element (refer to the demo to see this in action).</p> <h3>Methods</h3> |
