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


 

    Can we specify our own onclick event handler for the javascript sliding menus item?

Return to Recent Questions


Q: I'm trying to evaluate the possiblity of using your menu in our product. Can we specify our own onclick event handler for the menu item?


A: You're able to use Javascript for each item, for example:

var menuitems = [
["item text", "javascript:your_code_here"]
];

Unfortunately, you can't assign onmouseover/onClick event to each item.
However, you can achieve this by using standard html objects within items, for example:

var menuitems = [
["<div onClick='your_code_here'>item text</div>", "index.html"]
];





Return to Recent Questions

Top Mindblowing HTML Image Slideshow Ideas Offline Mobile Website Builder Software  |  Easy Website Builder Review  |  40+ Free Bootstrap Templates 2021  |  Free and Easy Website Builder  |  Best 18 Landing Page Bootstrap Theme Roundup  | 
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 | Free AI Website Generator | Website Generator AI | AI website design generator