(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:
Website Builder for Beginners, Bloggers, Writers, IT Companies Website Builder for Online Stores, Restaurants, Musicians, Real Estate  |  Best Website Builder for Education, Software Companies, Designers, Videos  |  Best AI Website Builder - Create Website Design with AI  |  Best Website Builder for Digital Marketing Agencies, Travel Agencies, Interior Designs  |  Website Builder for Churches, Authors, Consultants, Magazines  | 
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 | AI Website Generator | AI Website Generator | Website Generator AI | AI web page design generator