(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 Buttons Group Bootstrap Alert Colors  |  Bootstrap Table Template  |  Bootstrap Pagination Responsive  |  Best 18 Landing Page Bootstrap Theme Roundup  |  Bootstrap Modal Position  | 
Copyright (c) 2019, Deluxe-Menu.com
Home  |  Product Info  |  Samples  |  Download  |  Purchase  |  FAQ  |  Site Map  |  Terms of Use  |  Write Us
All rights reserved. de | it | website generator | Mobirise Templates | html slider