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


 

    What i need is when the menu item is clicked in the dhtml context menu, it'll run a js on the onclick or mouseup event.

Return to Recent Questions


Q: What i need is when the menu item is clicked in the dhtml context menu, it'll run a js on the onclick or mouseup event.
Is this possible?

A: You can achieve this by using standard html objects within items, for example:

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

Actually you can use any html code within menuItems.




Return to Recent Questions

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