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


 

    ...when the javascript side menu item is clicked, it'll run a js on the onclick or mouseup event...

Return to Recent Questions


Q: What I mean is I still want the destination page to be static in the var menuitems but when the javascript side menu item is clicked, it'll run a js on the onclick or mouseup event.

Is this possible?

something like:

var menuItems = [
["text", "home", "javascript:onclick=your_code_here"]
];

A: You can achieve this by using standard html objects within javascript side menu 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:
From Idea to Live Website in Minutes: Our Hands-On Mobirise AI Review. Create a Website in Minutes? We Tested 24 AI Construction Platforms to Determine the Definitive Winner.  |  List of 20 AI Code Builders and Generators - Code generated faster with AI.  |  List of 15 AI Website Creators and Generators - Reviews, Comparison, Pros & Cons.  |  Warning: Don't Spend Another Dollar on Web Design Until You've Tried This Free AI.  |  AI website builder and generator - AI-driven websites, limitless possibilities .  | 
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 Builder | Free AI Website Generator