Created
July 9, 2012 08:32
-
-
Save bugsysop/3075110 to your computer and use it in GitHub Desktop.
Twitter Bootstrap - JS Modal Window
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!--Javascript modal window in Twitter Bootstrap--> | |
<div id="myModal" class="modal hide fade"> | |
<div class="modal-header"> | |
<button class="close" data-dismiss="modal">×</button> | |
<h3>Modal Heading</h3> | |
</div> | |
<div class="modal-body"> | |
<h4>Text in a modal</h4> | |
</div> | |
<div class="modal-footer"> | |
<a href="#" class="btn" data-dismiss="modal" >Close</a> | |
<a href="#" class="btn btn-primary">Save changes</a> | |
</div> | |
</div> | |
<a data-toggle="modal" href="#myModal" class="btn btn-primary btn-large">Launch demo modal</a> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment