Can we set the link of a horizontal menu using item to a javascript method?
Return to Recent Questions
Q:
Can we set the link of a horizontal menu using item to a javascript method?
A:
You can use your own javascript functions in the horizontal menu using items.
You should paste "javascript:some_function()" into item's link field, for example:
var menuItems = [
["text", "javascript:your_function(...)", ...]
];
var menuItems = [
["item text", "javascript:alert('Hello World')", , , , ,]
];
Return to Recent Questions
Related:
- March 13, 2009 - Now we are having the "Incorrect Copyright" on our horizontal menu using...
- March 17, 2009 - Can the vertical dropdown menu items be set so they are all the same width?
- March 30, 2009 - Is there a way to optimize the horizontal menu using to reduce the loading time for submenus?
- Apr 01, 2009 - How can I set different parameters for diferent items in my mouse over drop down menu?
- Apr 06, 2009 - Can the link items NOT open a new window in the menu popup?
- Apr 15, 2009 - My mainmenu items are not links. So I need no link cursor for these net navigation menu items.
- Apr 16, 2009 - Do you have a template that allows me to have a standard windows tree control horizontal menu using?
- May 04, 2009 - The horizontal menu using won't align itself correctly in Firefox.
- May 15, 2009 - We want to set a specific width for each top level item in the menu html code
- May 21, 2009 - I am looking to integrate your horizontal menu using into a CMS such as Joomla.
- May 22, 2009 - I would like to have links of web navigation bar to our website when javascript turned off.
|