Hi
I cannot make a modal window to popup. I read all the forum comments about the subject, use the info from the tutorial, probably spent 5 hours on it, but cannot make it work.
I created an orphan page to learn how to do it.
the class of section (hidden) background is called: modalBG
the class of the button to make the window popup is called: modlink
the class of button to close the popup is called: close
Here is the code that used
Here is the dashboard Navigator screen shot
The modal window in the modal background section (modalBG) ony contains an image.
the url of the site: dfpaintings.webflow.com the button named studio is linked to the popup page
Use lowercase only popup = $('.modalbg'); instead of popup = $('.modalBG');. Webflow automaticaly lowercase all classes and adds - instead of spaces betwenn words .
Hi
one more question: to make a second popup on the page, after I create a new hidden section, different Z index,
do I repeat the code and change the class names ie: modal-background2, open-modal2, close-modal2 ?