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


 

    Would it work to put the javascript command in the dhtml context menu Link entry?

Return to Recent Questions


Q: Would it work to put the javascript command in the dhtml context menu Link entry so that when a person clicks on the menu item, he navigates to the webpage specified in the onclick?

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

var tmenuItems = [
["text", "javascript:window.location.href=myvalue"]
];

or

var tmenuitems = [
["
Table of Contents
", ""]
];





Return to Recent Questions

Related:
Good Responsive Site Maker Program - 2021 Tutorial HTML Page Creator Plugins / Overview  |  Smart Cheap and Easy Web Page Builder Tools | Honest Review  |  Exceptional Drag and Drop Web Maker App - Honest Review  |  Top HTML Site Builder - 2021 Review  |  Fine Open Source Website Maker Software | 2021 Guide  | 
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 Generator | Website Generator AI | AI web design generator | AI web page design generator