Execute Javascript from Menu Item
Execute Javascript from Menu Item
Can someone tell me how to execute a javascript popup box from a menu item? I would like to popup a lightbox window. To be exact how do I open this box, http://leandrovieira.com/projects/jquery/lightbox/ from the menu. Thanks. I hope this is possible and someone has some detailed info on how to do it.
-
calguy1000
- Support Guru

- Posts: 8169
- Joined: Tue Oct 19, 2004 6:44 pm
Re: Execute Javascript from Menu Item
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Re: Execute Javascript from Menu Item
Thanks for the quick response. I'm using the cssmenu template so where would I put the code below after importing to the database?
{elseif $node->type == 'link'}
url}">{$node->menutext}
{elseif $node->type == 'link'}
url}">{$node->menutext}
Re: Execute Javascript from Menu Item
It would most likely go after the...
{elseif $node->type == 'separator'}
{elseif $node->type == 'separator'}


