December 27th, 2012LWMW: Custom close button on a modal window is not working
Knowledge Base support case for Likno Web Modal Windows Builder, abstracted and stripped of all user’s private info.
Initial Email From: Niall
Initial Email Subject: Likno Web Modal Windows - Custom Close Button Not Working
Support Case Month: March 2012
Hello,
I have added a modal window link to my page at http://www.moldovastamps.org/dev/zformresult.asp
This opens correctly. The source url of the modal window is another page at http://www.moldovastamps.org/dev/zform.asp
Inside the modal window I want to create a custom Close button. I followed your help notes and used the onclick event on the button....onclick="parent.likno_modal_project.close();"
.... but this does nothing when clicked.
Can you please advise a fix or work-around.Regards,
NiallRelated URL: http://www.moldovastamps.org/dev/zformresult.asp
Reply From: Likno Customer Support
Dear Niall,
I tested your site and indeed the project-based code does not seem to work for some reason. However the generic code seems to work fine, so please try using this instead:
parent.lQuery.liknoModal.close();
Regards,
Kostas
Likno Customer Support
www.likno.com
Create any type of javascript menu (CSS menu, drop-down menu, sliding menu), button, html tree, modal window, tooltip, accordion, tab, scroller, jQuery slider or design for your websites!
Like us on Facebook – Follow us on Twitter
Reply From: Niall
Hi Kostas,
Yes, that seems to work just fine.
Many thanks,
Niall
Tags: button, close, code, custom, jquery, modal, modal window, URL, website, window