mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-17 02:54:01 +02:00
more tests, more js goodness
This commit is contained in:
@@ -21,7 +21,7 @@
|
||||
<script src="http://autobahn.tablesorter.com/jquery.tablesorter.min.js"></script>
|
||||
<script src="assets/js/google-code-prettify/prettify.js"></script>
|
||||
<script>$(function () { prettyPrint() })</script>
|
||||
<script src="assets/js/bootstrap-dropdown.js"></script>
|
||||
<script src="../js/bootstrap-dropdown.js"></script>
|
||||
<script src="assets/js/application.js"></script>
|
||||
<script src="assets/js/application-scrollspy.js"></script>
|
||||
|
||||
|
@@ -89,12 +89,12 @@ $('#modal-content').modal({
|
||||
<h4>modal:toggle</h4>
|
||||
<p> Toggle the modal open state.</p>
|
||||
<pre class="prettyprint linenums">$('#modal-content').trigger('modal:toggle')</pre>
|
||||
<h4>modal:open</h4>
|
||||
<h4>modal:show</h4>
|
||||
<p>Opens the modal.</p>
|
||||
<pre class="prettyprint linenums">$('#modal-content').trigger('modal:open')</pre>
|
||||
<h4>modal:close</h4>
|
||||
<pre class="prettyprint linenums">$('#modal-content').trigger('modal:show')</pre>
|
||||
<h4>modal:hide</h4>
|
||||
<p>Closes the modal.</p>
|
||||
<pre class="prettyprint linenums">$('#modal-content').trigger('modal:close')</pre>
|
||||
<pre class="prettyprint linenums">$('#modal-content').trigger('modal:hide')</pre>
|
||||
<h3>Demo</h3>
|
||||
|
||||
<!-- sample modal content -->
|
||||
|
Reference in New Issue
Block a user