(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:
Greatest 11 Free Wordpress Alternatives Tools Nice and Simple HTML Website Maker with HTML Code Export  |  Effective Link in Bio Services  |  How To Embed Instagram Feed  |  Most Suitable 11 Best Wix Alternatives Website Creators  |  Best Free QR Code Generators 2023  | 
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 | Free AI Website Builder | AI Website Builder | Website Generator AI | AI website design generator