(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:
Great MP4 to HTML5 Generator Tutorial Fine Responsive Web Page Builder | Overview  |  Reputable Drag and Drop Web Builder | Overview  |  Fantastic Bootstrap Page Themes For Your Company  |  First-rate Easy Website Builder | How-to Guide  |  Beautiful Slider jQuery Application  | 
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 Maker | AI Website Generator | Website Generator AI | AI website design generator