|
Can we set the link of a menu in javascript item to a javascript method?
Return to Recent Questions
Q:
Can we set the link of a menu in javascript item to a javascript method?
A:
You can use your own javascript functions in the menu in javascript 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 menu dhtml items be set so they are all the same width?
- Apr 01, 2009 - How can I set different parameters for diferent items in my dhtml sliding menu?
- Apr 06, 2009 - Can the link items NOT open a new window in the popup menu?
- Apr 15, 2009 - My mainmenu items are not links. So I need no link cursor for these dropdown javascript items.
- May 15, 2009 - We want to set a specific width for each top level item in the web drop down menu
- May 22, 2009 - I would like to have links of web navigation buttons to our website when javascript turned off.
- May 24, 2009 - When set up links in the floating menu javascript using Tuner app, it changes them to different paths.
- Jun 16, 2009 - I want to add a javascript link with onclick event to the html dropdown menus
- Jul 12, 2009 - Is it possible to set target attribute individually for the drop down menus javascript items?
- Jul 28, 2009 - Is it possible to have drag drop javascript 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 menu css javascript
|