Created
March 16, 2018 14:36
-
-
Save ben-heath/e18eaebbe34ba3f79a4d15979453c2e5 to your computer and use it in GitHub Desktop.
This code works with bootstrap 2, and fixes the show/hide behavior experienced with Respondo if following normal Bootstrap documentation
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
# Trigger button/link | |
# Must use the 'onClick' method to target the modal, rather than 'data-target' | |
<a href="javascript:void(0);" id="login-pop-trigger" onClick="jQuery(\'#login-popup\').modal();" role="button" data-toggle="modal"><i class="fas fa-user-plus" aria-hidden="true"></i> Login</a> | |
# Simple Modal | |
<div id="login-popup" class="modal fade" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true" style="display: none;"> | |
<div class="modal-body"> | |
<p>You are about to delete this Page, this is irreversible.</p> | |
</div> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment