"Bootstrap Onload Modal"
Bootstrap 3.3.0 Snippet by webenlance

<link href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.0/js/bootstrap.min.js"></script> <script src="//code.jquery.com/jquery-1.11.1.min.js"></script> <!------ Include the above in your HEAD tag ----------> <div class="container"> <div class="row"> <a target="_blank" href="http://kalarikendramdelhi.com"> <h2>All the snippet's created by webenlance are free to use, Just copy and enjoy the code</h2> </a></div> </div> <button class="btn btn-default" data-toggle="modal" data-target=".bs-example-modal-lg">Large modal</button> </center> <div class="modal fade bs-example-modal-lg" tabindex="-1" role="dialog" aria-labelledby="myLargeModalLabel" aria-hidden="true" id="onload"> <div class="modal-dialog"> <!-- Modal content--> <div class="modal-content"> <div class="modal-header"> <button type="button" class="close" data-dismiss="modal">×</button> <h4 class="modal-title"><i class="fa fa-exclamation-circle"></i>Your title goes here</h4> </div> <div class="modal-body"> Your content goes here </div> <div class="modal-footer"> <button type="button" class="btn btn-default" data-dismiss="modal">Submit</button> </div> </div> </div> </div>
$(window).load(function(){ $('#onload').modal('show'); });

Related: See More


Questions / Comments:

Good snippet c:

AnibalJimenez () - 5 years ago - Reply 0