(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:
Beautiful JS Page Theme Review Perfect Responsive JS Website Templates Review  |  Splendid JS Design Maker Overview  |  How to Make a Webpage - Step by Step Tutorial  |  Magical HTML Bootstrap Slider With Text Templates  |  30+ Top Innovative Software Company Website Template List  | 
Copyright (c) 2019, Deluxe-Menu.com
Home  |  Product Info  |  Samples  |  Download  |  Purchase  |  FAQ  |  Site Map  |  Terms of Use  |  Write Us
All rights reserved. free icons | best website builder software | bootstrap popup window | wowslider.com | css menu