-
-
Save manhnguyenv/cb33a71c0515f1d7b0c2b9c6b388fe86 to your computer and use it in GitHub Desktop.
Revisions
-
marc-gist revised this gist
May 9, 2013 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -6,7 +6,7 @@ $(document).ready(function() { }); </script> <div class="modal hide fade" id="modalID"> <div class="modal-header"> <a class="close" data-dismiss="modal">×</a> <div>TITLE</div> -
marc-gist created this gist
May 1, 2013 .There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,20 @@ <script> /* to show modal via jquery clock event bound to id="modal_button_id" a/button/etc */ $(document).ready(function() { $('#modal_button_id').click(function (event) { $('#myModal').modal('show') }); </script> <div class="modal fade" id="modalID"> <div class="modal-header"> <a class="close" data-dismiss="modal">×</a> <div>TITLE</div> </div> <div class="modal-body"> Modal Body </div> <div class="modal-footer"> <a data-dismiss="modal" class="close">Close</a> </div> </div>