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


 

    I want to get the URL or file name to be open in javascript mouseover menu by click...

Return to Recent Questions


Q: I have a problem. How can we get the value of a parameter passed by the menu, when a menu item is clicked? For example I want to get the URL or file name to be open by the menu item when it is clicked.
I am talking about TREE menu.


A: If you want to open url or a file when you click on items of the tree menu you can write, for example:

var tmenuItems = [
["+DHTML Menus","http://dhtml-menu.com", "images/xpicon1.gif", , , "DHTML Menus", , "0", , , , ],
["|Save as...", "javascript:OpenFile('file_name')"]

];





Return to Recent Questions

Offline Mobile Website Builder Software Easy Website Builder Review  |  Top Mindblowing HTML Image Slideshow Ideas  |  Best 18 Landing Page Bootstrap Theme Roundup  |  Free and Easy Website Builder  |  40+ Free Bootstrap Templates 2021  | 
Copyright (c) 2019, Deluxe-Menu.com
Home  |  Product Info  |  Samples  |  Download  |  Purchase  |  FAQ  |  Site Map  |  Terms of Use  |  Write Us
All rights reserved. Best AI Website Builder | AI Website Generator | AI Website Builder | AI Website Generator | Website Generator AI