(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:
Most Suitable 11 Best Wix Alternatives Website Creators No Coding Website Builder - Easiest Website Builder  |  How To Embed Instagram Feed  |  Greatest 11 Free Wordpress Alternatives Tools  |  Best Free QR Code Generators 2023  |  Nice and Simple HTML Website Maker with HTML Code Export  | 
Copyright (c) 2019, Deluxe-Menu.com
Home  |  Product Info  |  Samples  |  Download  |  Purchase  |  FAQ  |  Site Map  |  Terms of Use  |  Write Us
All rights reserved. AI Website Builder | Best AI Website Builder | Free AI Website Builder | AI web design generator | AI web page design generator