(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:
Bootstrap Site Themes Review Mobile Page Layouts Overview  |  36 Top Eye-catching and Free AMP Elements Templates for 2021  |  Mobile-friendly Page Maker  |  Responsive Website Maker  |  Responsive Site Theme  | 
Copyright (c) 2019, Deluxe-Menu.com
Home  |  Product Info  |  Samples  |  Download  |  Purchase  |  FAQ  |  Site Map  |  Terms of Use  |  Write Us
All rights reserved. AI Website Builder | Best AI Website Builder | AI Website Generator | Website Generator AI | AI web page design generator