(c) 2007, DHTML-Menu.com
 
   
   
  Support
  Recent Questions
  Write To Support
 

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

Return to Recent Questions


Q: I am talking about TREE menu.

I have a problem.
How can we get the value of a parameter passed by the menu bar javascript, when a menu bar javascript item is clicked? For example I want to get the direct link or file name to be open by the menu item when it is clicked.

A: If you want to open direct link or a file when you click on items of the tree menu bar javascript 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

Related:
   
Copyright (c) 2012, DHTML-Menu.com
Home  |  Product Info  |  Samples  |  Download  |  Purchase  |  FAQ  |  Site Map  |  Write Us
All rights reserved. bootstrap template | bootstrap 4 themes | icon font | bootstrap popup window | jquery slideshow