I'm trying to call a form in a pop-up window using a link in wordpress using approximately this code:
<a href="#myDiv" class="html5lightbox" data-width=350 data-height=320>тут ссылка вызывающая окно</a> Form Code:
<div id="myDiv" style="display:none;"> <form> Тут сама форма </form> </div> All scripts are connected. When you click on a link, it opens not a form, but a reduced window of the page (with all its contents) with which the window is called.
How to call only the form, dressed in a Div ?
Read the instructions for the script offsite: instructions for html5lightbox
Maybe I missed something?