(c) 2007, DHTML-Menu.com
 
   
   
  Support
  Recent Questions
  Write To Support
 

    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:
   
Copyright (c) 2012, DHTML-Menu.com
Home  |  Product Info  |  Samples  |  Download  |  Purchase  |  FAQ  |  Site Map  |  Write Us
All rights reserved. criar sites gratis | creare sito gratis | bootstrap popup window | css3 menu | bootstrap image slider