- Library version: Jquery 1.11.0
- Framework version: Bootstrap 3.1.1
- CodePen link: https://codepen.io/amitshahc/pen/r6ueupfj/1/
HTML snippet:
<!-- Modal -->
<div class="modal fade" id="az-progress" tabindex="-1" role="dialog" aria-labelledby="Progress bar" data-backdrop="false" data-keyboard="false" data-show="true">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
<h4 class="modal-title" id="myModalLabel">Modal title</h4>
</div>
<div class="modal-body">
...
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
<button type="button" class="btn btn-primary">Save changes</button>
</div>
</div>
</div>
</div>
Javascript functionality:
$(function() {
$('#az-progress').modal();
});