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


 

    I am not sure if it will do what I want - can I call javascript within the dynamic menu?

Return to Recent Questions


Q: I would love to buy your product BUT, I am not sure if it will do what I want - can I call javascript within the dynamic menu?

For example my old page for disaster recovery we have inserted a URL substitution :

The javascript function is called at the top of the nav page:

<script LANGUAGE = "JavaScript" SRC = "../urlSub.js"> </script>

then the link on the nav menu

<a> href="#" ONCLICK = "urlSubstitution('transco/sheet.asp?stype=1')">Table of Contents </a>
-----------------------------------------------------------------------------------------------------
HOWEVER, Im not sure if this is possible with your product?

A: Yes, it is possible.

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

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

or

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





Return to Recent Questions

Related:
Exceptional Bootstrap Mobile Template Set Great Free Page Layouts Set  |  Prime Simple Website Builder Review  |  Super Simple Website Builder Review  |  Awesome Mobile-friendly Website Design Review  |  Fine Bootstrap Page Templates - Video 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 AI Website Builder | AI Website Builder | AI Website Generator | AI Website Builder | AI web design generator