(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:
Exceptional MP4 to HTML5 Converter Review Beautiful Slider jQuery Application  |  Great Free Page Layouts Set  |  Fine Bootstrap Page Templates - Video List  |  Super Simple Website Builder Review  |  Prime Simple Website Builder Review  | 
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 | Best AI Website Builder | Free AI Website Builder | Free AI Website Generator | AI website design generator