|
I tried to use javascript function within the "Title item" of my dhtml drop down menus.
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 dhtml drop down menus? 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:
- May 05, 2009 - I'm wondering if you can use the ASP code within Item Link of the double drop down menu?
- Aug 14, 2009 - I'm trying to simply use API functions to add some properties to my javascript onmouseover.
- Sep 03, 2009 - Is it possible to use the AJAX-Like technology and dynamic API functions in popup menu example?
- Sep 04, 2009 - How to use javascript calls when the link is clicked in the menu navigation?
- Oct 08, 2009 - I use v3.0. I cannot manage to search within the navigation menu javascript...
- Oct 19, 2009 - Can I move all code for the collapsible javascript within the html and not use it as external .js file?
- Nov 01, 2009 - Is it possible that your css popup menu call some javascript on mouseover?
- Nov 08, 2009 - How to call javascript function when the user click on a html submenu Items...
- Nov 20, 2009 - Menu for web won't mouseover and won't open the submenus and I have a javascript error...
- Dec 04, 2009 - I use v3.0. I cannot manage to search within the javascript xml menu...
- Jan 18, 2010 - I want to use my own function within menuItems in the onmouseover examples item.
|