(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:
Top 54 Brand New jQuery Themes List Best 50 Inspirational and Beautiful HTML Themes Collection  |  Best 46 Fresh CSS Themes Collection  |  Top 41 Wonderful CSS3 Templates Collection  |  Top 53 Killer HTML Templates List  |  AMP Mobile Page Template 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 | AI Website Generator | AI website design generator | AI web page design generator