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


 

    I need to know if I can call js functions using the .js file in java menu sample?

Return to Recent Questions


Q: I already have your product.  I need to know if I can call js functions using the .js file in java menu sample.


A: You can use your own javascript functions in the menu items.

You should paste "javascript:some_function()" into item's link field, for example:

var menuItems = [
["text", "javascript:your_function(...)", ...]
];

var menuItems = [
["item text", "javascript:alert('Hello World')", , , , ,]
];





Return to Recent Questions

Related:
Fresh CSS Bootstrap Carousel Video Players and Nav Menu Demos Bootstrap Toggle Tabs  |  15 Recommended Website Makers Arranged by Level Of Popularity  |  Bootstrap Tabs Styles  |  Bootstrap Panel Body  |  30 Killer Free Bootstrap Image Carousel and Gallery Scripts  | 
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 Builder | AI web design generator | AI web page design generator