hello forum ... I guess there's a few of us who use Bootstrap and I've just been looking at the modal and wondering how feasible it is to offer it to a client as an option using a shortcode i.e. they can position a modal pop-up anywhere they fancy within a richtext editable area. The modal container might hold a heading and several paragraphs of text for example.
The markup is:
Interested to get some thoughts on this before jumping in! Thanks!
The markup is:
- Code: Select all
<!-- Modal -->
<div class="modal fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">×</span><span class="sr-only">Close</span></button>
<h4 class="modal-title" id="myModalLabel">Modal title</h4>
</div>
<div class="modal-body">
... content goes here ....
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
</div>
</div>
</div>
</div>
Interested to get some thoughts on this before jumping in! Thanks!