(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:
No Coding Website Builder - Easiest Website Builder Whitelabel Website Builder - HTML Code Generator  |  Landing Page Maker - Landing Page Maker  |  Website Design Tool - Website Development Software  |  Nice and Simple HTML Website Maker with HTML Code Export  |  Photographer & Artist Website Builder  | 
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 | AI Website Maker | AI Website Generator | AI web page design generator