December 27th, 2012LWMW: JavaScript code to open a modal window
Knowledge Base support case for Likno Web Modal Windows Builder, abstracted and stripped of all user’s private info.
Initial Email From: Carole
Initial Email Subject: javascript code to open a modal window
Support Case Month: May 2012
Hi,
yes , I am a user of likno Web Modal Builder and All web menu too...
I want to be able to open a modal window with javascript,
can you tell me the way to do this ?
Thank you for your help
Carole
Reply From: Likno Customer Support
Dear Carol,
You can programmatically open a Modal Window you have created, by calling its name as a function.
For example, create the following link:
<a href="#" onclick="Modal_Window_1()">test</a>
Or simply write the code:
<script>Modal_Window_1();</script>
Best Regards,
Aris Filokostas
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
Tags: code, function, JavaScript, jquery, modal, modal window, onClick, open, website, window