I tried to use javascript function within the "Title item" of my vertical dropdown menu.
Return to Recent Questions
Q:
I tried to use javascript fuctions for subitem and it worked fine but
not working with the main items (Group or header item), is there a way to
process onclick for the title item in vertical dropdown menu? Thanks again.
You're able to use Javascript for each item, for example:
var tmenuitems = [
["item text", "javascript:your_code_here"]
];
A:
Unfortunately, title items doesn't allow you to use Javascript in the same
way.
But you can do the following:
var tmenuitems = [
["<div onclick='your_code_here'>title text</div>"]
];
Return to Recent Questions
Related:
- March 17, 2009 - Can the vertical dropdown menu items be set so they are all the same width?
- Apr 03, 2009 - I would like to change the height of the submenu items in the vertical dropdown menu...
- Apr 20, 2009 - I'm interested in in the actual vertical dropdown menu selection opening in the second frame
- May 05, 2009 - I'm wondering if you can use the ASP code within Item Link of the web navigation bar?
- May 08, 2009 - How do I make vertical dropdown menu backgrounds and items to override the page text?
- May 25, 2009 - I get a window with an error message "dmObjectsCheck is undefined" in vertical dropdown menu.
- Jun 12, 2009 - In Firefox my vertical dropdown menu is shifted way to the right
- Jun 29, 2009 - I want my vertical dropdown menu appears at the top the page with center align. Is it possible?
- Jul 16, 2009 - I have "Incorrect Copyright" message in IE7 in the vertical dropdown menu
- Aug 02, 2009 - Is there any way to have a cursor becomes a pointer for a link in a vertical dropdown menu?
- Aug 14, 2009 - I'm trying to simply use API functions to add some properties to my net navigation menu.
|