|
Can we set the link of a net web menu item to a javascript method?
Return to Recent Questions
Q:
Can we set the link of a net web menu item to a javascript method?
A:
You can use your own javascript functions in the net web menu 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 17, 2009 - Can the dynamic pull down menu items be set so they are all the same width?
- Apr 01, 2009 - How can I set different parameters for diferent items in my menu pulldown?
- Apr 06, 2009 - Can the link items NOT open a new window in the css collapsible menu?
- Apr 15, 2009 - My mainmenu items are not links. So I need no link cursor for these menu web design items.
- May 15, 2009 - We want to set a specific width for each top level item in the css menu tree
- May 22, 2009 - I would like to have links of html side menu to our website when javascript turned off.
- May 24, 2009 - When set up links in the html tab menu using Tuner app, it changes them to different paths.
- Jun 16, 2009 - I want to add a javascript link with onclick event to the javascript collapse
- Jul 12, 2009 - Is it possible to set target attribute individually for the popup menu script items?
- Jul 28, 2009 - Is it possible to have dhtml scroll items act like regular hyperlinks?
- Jul 30, 2009 - I need the cursor not to change when hovering over items which don't have links in dhtml slide menu
|