Support » Plugin: Modal Window - create popup modal window » Need to close the modal box using onclick

  • hi,
    Need to close the modal box using onclick function.Where i need to include the function.
    in uploads/modal/script-1 .js
    but the closeModalWindow(); is not working.
    what i need is when onclicking the a href link in the modalbox i need to close the modalbox.Please kindly help me to solve this issue.

Viewing 1 replies (of 1 total)
  • Plugin Author Wow-Company

    (@wpcalc)

    You can сlose popup via adding to the element:
    • Class ‘wow-modal-close-X’, like <span class="wow-modal-close-X">Open Popup</span>
    • ID ‘wow-modal-close-X’, like <span id="wow-modal-close-X">Open Popup</span>
    • URL ‘#wow-modal-close-X’, like <a href="'#wow-modal-close-X'"<Open Popup</a>

    Where X = Modal window ID

    • This reply was modified 9 months, 3 weeks ago by Wow-Company.
Viewing 1 replies (of 1 total)
  • The topic ‘Need to close the modal box using onclick’ is closed to new replies.