Skip to content

Instantly share code, notes, and snippets.

@bugsysop
Created July 9, 2012 08:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bugsysop/3075110 to your computer and use it in GitHub Desktop.
Save bugsysop/3075110 to your computer and use it in GitHub Desktop.
Twitter Bootstrap - JS Modal Window
<!--Javascript modal window in Twitter Bootstrap-->
<div id="myModal" class="modal hide fade">
<div class="modal-header">
<button class="close" data-dismiss="modal">&times;</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