(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:
Best 18 Landing Page Bootstrap Theme Roundup Top Mindblowing HTML Image Slideshow Ideas  |  Bootstrap Buttons Group  |  Bootstrap Alert Colors  |  Free and Easy Website Builder  |  Bootstrap Table Template  | 
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 | AI Website Builder | AI Website Builder | AI Website Maker | Website Generator AI