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


 

    How do assign my own onclick events to menu options for the dhtml menubar?

Return to Recent Questions


Q: How do assign my own onclick events to menu options for the dhtml menubar?
I want do more than just redirect to an href.

A: Actually you can use your own Javascript code instead standard links.
For example:

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

or

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






Return to Recent Questions

Related:
Exceptional MP4 to HTML5 Converter Review Prime Simple Website Builder Review  |  Super Simple Website Builder Review  |  Exceptional Bootstrap Mobile Template Set  |  Great Free Page Layouts Set  |  Fine Bootstrap Page Templates - Video List  | 
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 Maker | AI web design generator | AI website design generator