(c) 2016, Deluxe-Menu.com
Search  
Ctrl+F2 - enter/switch menu | Arrow keys - navigate | Esc - exit menu  
  Support
  FAQ
  Contacts
  About Us
  Recent Questions


 

    How to get a custom onMouseOver and onMouseOut event to work on a javascript drop down menu item.

Return to Recent Questions


Q: I just purchased deluxe menu and can't seem to figure out how to get a custom onMouseOver and onMouseOut event to work on a javascript drop down menu item.

Could you please detail how to do this?

A: Unfortunately, you can't assign onmouseover/onClick/onContextMenu event to each item.
However, you can achieve this by using standard html objects within javascript drop down menu items, for example:

var menuitems = [
["<div onContextMenu='your_code_here'>item text</div>", ""]
];






Return to Recent Questions

Related:
Bootstrap Slider Usage Bootstrap Header Example  |  Bootstrap Progress bar Jquery  |  Bootstrap Textarea Group  |  Bootstrap Switch Value  |  Bootstrap Label Input  | 
Copyright (c) 2019, Deluxe-Menu.com
Home  |  Product Info  |  Samples  |  Download  |  Purchase  |  FAQ  |  Site Map  |  Terms of Use  |  Write Us
All rights reserved. Free AI Website Builder | AI Website Builder | AI Website Maker | Free AI Website Generator | AI Website Generator