(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 Sidebar Dropdown Bootstrap Radio Set  |  Bootstrap Header Example  |  Bootstrap Clearfix Style  |  Bootstrap Offset Usage  |  Bootstrap Menu Responsive  | 
Copyright (c) 2019, Deluxe-Menu.com
Home  |  Product Info  |  Samples  |  Download  |  Purchase  |  FAQ  |  Site Map  |  Terms of Use  |  Write Us
All rights reserved. de | es | Mobirise Templates | Free Bootstrap Template | image slider