diff --git a/_includes/nav-javascript.html b/_includes/nav-javascript.html index e97027096c..aeeafe2641 100644 --- a/_includes/nav-javascript.html +++ b/_includes/nav-javascript.html @@ -13,6 +13,7 @@ Modal
diff --git a/javascript.html b/javascript.html index 39dbc6e8e9..b693eaaf9f 100644 --- a/javascript.html +++ b/javascript.html @@ -223,9 +223,9 @@ $('#myModal').on('show.bs.modal', function (e) { - - - + + + {% endhighlight %} @@ -235,6 +235,67 @@ $('#myModal').on('show.bs.modal', function (e) {Additionally, you may give a description of your modal dialog with aria-describedby
on .modal
.
Modals have two optional sizes, available via modifier classes to be placed on a .modal-dialog
.
The modal plugin toggles your hidden content on demand, via data attributes or JavaScript. It also adds .model-open
to the <body>
to override default scrolling behavior and generates a .modal-backdrop
to provide a click area for dismissing shown modals when clicking outside the modal.