mirror of
https://github.com/twbs/bootstrap.git
synced 2025-01-29 21:52:22 +01:00
Merge pull request #7798 from mediafreakch/3.0.0-wip
fixed not working example code for modals
This commit is contained in:
commit
b352f98f32
@ -5119,27 +5119,27 @@ $('#myModal').on('show', function (e) {
|
|||||||
<a data-toggle="modal" href="#myModal" class="btn btn-primary btn-large">Launch demo modal</a>
|
<a data-toggle="modal" href="#myModal" class="btn btn-primary btn-large">Launch demo modal</a>
|
||||||
</div><!-- /example -->
|
</div><!-- /example -->
|
||||||
{% highlight html %}
|
{% highlight html %}
|
||||||
<div class="modal">
|
|
||||||
<!-- Button trigger modal -->
|
<!-- Button trigger modal -->
|
||||||
<a data-toggle="modal" href="#myModal" class="btn btn-primary btn-large">Launch demo modal</a>
|
<a data-toggle="modal" href="#myModal" class="btn btn-primary btn-large">Launch demo modal</a>
|
||||||
|
|
||||||
<!-- Modal -->
|
<!-- Modal -->
|
||||||
<div class="modal-dialog">
|
<div class="modal" id="myModal">
|
||||||
<div class="modal-content">
|
<div class="modal-dialog">
|
||||||
<div class="modal-header">
|
<div class="modal-content">
|
||||||
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
|
<div class="modal-header">
|
||||||
<h4 class="modal-title">Modal title</h4>
|
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
|
||||||
</div>
|
<h4 class="modal-title">Modal title</h4>
|
||||||
<div class="modal-body">
|
</div>
|
||||||
...
|
<div class="modal-body">
|
||||||
</div>
|
...
|
||||||
<div class="modal-footer">
|
</div>
|
||||||
<a href="#" class="btn">Close</a>
|
<div class="modal-footer">
|
||||||
<a href="#" class="btn btn-primary">Save changes</a>
|
<a href="#" class="btn">Close</a>
|
||||||
</div>
|
<a href="#" class="btn btn-primary">Save changes</a>
|
||||||
</div><!-- /.modal-content -->
|
</div>
|
||||||
</div><!-- /.modal-dalog -->
|
</div><!-- /.modal-content -->
|
||||||
</div><!-- /.modal -->
|
</div><!-- /.modal-dalog -->
|
||||||
|
</div><!-- /.modal -->
|
||||||
{% endhighlight %}
|
{% endhighlight %}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user