Can we specify our own onclick event handler for the css pulldown menu item?
Return to Recent Questions
Q:
I'm trying to evaluate your css pulldown menu in our product.
Can we specify our own onclick event handler for the css pulldown menu item?
A:
Unfortunately, you can't assign onmouseover/onClick event to each item.
However, you can achieve this by using standard html objects within
item's text, for example:
var menuitems = [
["<div onClick='your_code_here'>item text</div>", "index.html"]
];
You're able to use Javascript for each item, for example:
var menuitems = [
["item text", "javascript:your_code_here"]
];
Return to Recent Questions
Related:
- March 20, 2009 - Is it possible to have the "parent" items of the css pulldown menu be purely an image?
- Apr 05, 2009 - We have status bar errors that say: "Done, but with errors on page" in css pulldown menu...
- Apr 23, 2009 - I cannot configure the actual links or link names in the css pulldown menu?
- May 10, 2009 - I've started using your css pulldown menu the CPU jumps to 100%...
- Jun 14, 2009 - How can I insert html code into css pulldown menu?
- Jun 16, 2009 - I want to add a javascript link with onclick event to the drop down menu web
- Jul 02, 2009 - Is it possible to install my css pulldown menu on the page made with Yahoo sitebuilder
- Jul 18, 2009 - Submenu of css pulldown menu doesn't appear over the Flash in Firefox...
- Aug 05, 2009 - We have several problems with your css pulldown menu. Please, help to solve these problems!
- Aug 22, 2009 - Is it possible to create a css pulldown menu with one line of the subitems?
- Sep 07, 2009 - Is it possible to load pages into an iframe in the css pulldown menu?
|