(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 Modal Popup Form Bootstrap Login forms Layout  |  Bootstrap Multiselect Option  |  Bootstrap Row Grid  |  Bootstrap Layout Jquery  |  Bootstrap Jumbotron Header  | 
Copyright (c) 2019, Deluxe-Menu.com
Home  |  Product Info  |  Samples  |  Download  |  Purchase  |  FAQ  |  Site Map  |  Terms of Use  |  Write Us
All rights reserved. Best AI Website Builder | AI Website Generator | AI Website Maker | AI web design generator | AI web page design generator