(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:
How to Make a Webpage - Step by Step Tutorial 30+ Top Innovative Software Company Website Template List  |  Perfect Responsive JS Website Templates Review  |  Splendid JS Design Maker Overview  |  Beautiful JS Page Theme Review  |  Magical HTML Bootstrap Slider With Text Templates  | 
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 Maker | AI Website Generator | AI website design generator | AI web page design generator