(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 Fresh CSS Bootstrap Carousel Video Players and Nav Menu Demos  |  30 Killer Free Bootstrap Image Carousel and Gallery Scripts  |  36 Top Eye-catching and Free AMP Elements Templates for 2021  |  Bootstrap Tabs Styles  |  Bootstrap Toggle Tabs  | 
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 | Website Generator AI | AI website design generator | AI web page design generator