(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:
Top 53 Killer HTML Templates List Mobile Page Layouts Overview  |  Responsive Site Theme  |  Best 50 Inspirational and Beautiful HTML Themes Collection  |  Bootstrap Site Themes Review  |  Mobile-friendly Web Page Themes Review  | 
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 | Free AI Website Builder | AI Website Generator | AI Website Maker | AI web page design generator