(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. Free AI Website Builder | Free AI Website Generator | AI Website Generator | Website Generator AI | AI web design generator