modals

1 reply·opened Dec 1, 2019
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>
S
SemiColonWebSTAFFDec 1, 2019

Hello,

Simply use the Inline Modal from the lightbox.html Template: http://themes.semicolonweb.com/html/canvas/lightbox.html .

This will definitely work fine. Hope this Helps!

Let us know if we can help you with anything else or if you find any further issues.

Have the same question, or something new?

Sign in to the Canvas dashboard to reply or open your own topic. Canvas owners get direct help from the SemiColonWeb team.

Reply on the dashboard