S
supermanageDec 1, 2019
Hello how can I use the modal found here http://themes.semicolonweb.com/html/canvas/modal-onload-cookie.html instead of the regular modals.
This example is off onload, I want to use it like the others onlick.
I found this in the docs but it is for onload I think.
<div class="modal-on-load" data-target="#myModal1"></div>
<!-- Modal -->
<div class="modal1 mfp-hide" id="myModal1">
<div class="block divcenter" style="background-color: #FFF; max-width: 500px;">
<div class="center" style="padding: 50px;">
<h3>A Simple Example of a Text Modal</h3>
<p class="nobottommargin">Lorem ipsum dolor sit amet, consectetur adipisicing elit. Nostrum delectus, tenetur obcaecati porro! Expedita nostrum tempora quia provident perspiciatis inventore, autem eaque, quod explicabo, ipsum, facilis aliquid! Sapiente, possimus quo!</p>
</div>
<div class="section center nomargin" style="padding: 30px;">
<a href="#" class="button" onClick="$.magnificPopup.close();return false;">Close this Modal</a>
</div>
</div>
</div>