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


 

    When I select item from the mouseover menus it takes me to a link on a website, is it possible to run a javascript instead?

Return to Recent Questions


Q: When I select something from one of the mouseover menus it takes me to a link on a website,
is it possible to run a javascript instead?

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

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

or

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



Return to Recent Questions

Related:
15 Recommended Website Makers Arranged by Level Of Popularity Responsive Site Theme  |  Responsive Website Maker  |  Fresh CSS Bootstrap Carousel Video Players and Nav Menu Demos  |  36 Top Eye-catching and Free AMP Elements Templates for 2021  |  Mobile-friendly Page Maker  | 
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 Builder | AI Website Maker | AI web design generator | AI website design generator