Link that closes popup in PrestaShop 1.7

i've got a question. I enabled the option  "Disable default "close popup" button"
now i want to close the popup with button inside my popup contents,
how i can create it?

close popup with special button / text / image

Hello
yes, it is possible, for example:
<a href="#" onclick="hideThisPopup();">close popup</a>
or
<span onclick="hideThisPopup();">close popup</span>
you can even add image that will close popup:
<img src="myimage.jpg" onclick="hideThisPopup();">
Share on Google Plus

About VEKIA

This is a short description in the author block about the author. You edit it by entering text in the "Biographical Info" field in the user admin panel.
    Blogger Comment

0 comments:

Post a comment