(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:
Best Website Builder for Education, Software Companies, Designers, Videos Website Builder for nonprofits and therapists  |  Best Website Builder for podcasts and affiliate marketing  |  Website Builder for Online Stores, Restaurants, Musicians, Real Estate  |  Website Builder for Churches, Authors, Consultants, Magazines  |  Website Builder for Beginners, Bloggers, Writers, IT Companies  | 
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 Generator | AI Website Maker | Free AI Website Generator | AI web page design generator