I tried to use javascript function within the "Title item" of my dynamic context 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 dynamic context 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:
- May 05, 2009 - I'm wondering if you can use the ASP code within Item Link of the javascript scroll position?
- Aug 14, 2009 - I'm trying to simply use API functions to add some properties to my java popup menu.
- Sep 03, 2009 - Is it possible to use the AJAX-Like technology and dynamic API functions in down menu script?
- Sep 04, 2009 - How to use javascript calls when the link is clicked in the list menu html?
- Oct 08, 2009 - I use v3.0. I cannot manage to search within the menu dynamique vertical...
- Oct 19, 2009 - Can I move all code for the net dhtml menu within the html and not use it as external .js file?
- Nov 01, 2009 - Is it possible that your menu javascripts call some javascript on mouseover?
- Nov 08, 2009 - How to call javascript function when the user click on a dhtml slide menu Items...
- Nov 20, 2009 - Menu using java script 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 web navigation design...
- Jan 18, 2010 - I want to use my own function within menuItems in the cascading menus item.
|