(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 I call javascript within the drop menu javascript?

Return to Recent Questions


Q: Can I call javascript within the drop menu javascript?

A: Yes, it is possible.
Actually you can use your own Javascript code instead standard links and html code inside item text. For example:

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

or

var menuitems = [
["<div onClick='urlSubstitution(\'transco/sheet.asp?stype=1\')'>Table of Contents</div>", ""]
];


s


Return to Recent Questions

Related:
15 Recommended Website Makers Arranged by Level Of Popularity 30 Killer Free Bootstrap Image Carousel and Gallery Scripts  |  Mobile-friendly Page Maker  |  Fresh CSS Bootstrap Carousel Video Players and Nav Menu Demos  |  36 Top Eye-catching and Free AMP Elements Templates for 2018  |  Responsive Website Maker  | 
Copyright (c) 2019, Deluxe-Menu.com
Home  |  Product Info  |  Samples  |  Download  |  Purchase  |  FAQ  |  Site Map  |  Terms of Use  |  Write Us
All rights reserved. website generator | Bootstrap Templates | best website design software | top free website builder | image slider