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


 

    FAQ

Return to FAQ

Q: I want to use Javascript instead of usual links for menu items. How can I do that?
A: To do that you should add a function word "javascript" in the URL field of an item, e.g.:

var menuItems = [
    [text, "javascript:alert('Hello, world!')", icon1, icon2],
];

Return to FAQ

Bootstrap Popover Button Bootstrap List View  |  Bootstrap Collapse Toggle  |  Bootstrap Input Validation  |  Bootstrap Icons Button  |  Bootstrap Carousel Example  | 
Copyright (c) 2016, Deluxe-Menu.com
Home  |  Product Info  |  Samples  |  Download  |  Purchase  |  FAQ  |  Site Map  |  Terms of Use  |  Write Us
All rights reserved. Mobirise Templates | Bootstrap Templates | best website design software | bootstrap button | free website generator