(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:
Bootstrap Popover Button Bootstrap Input Validation  |  Bootstrap Modal Position  |  Bootstrap Collapse Toggle  |  Bootstrap Pagination Responsive  |  Bootstrap Icons Button  | 
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 | Best AI Website Builder | AI Website Generator | Free AI Website Generator | AI Website Generator