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

    I want to open the URL or file name in script for menu by click...

Return to Recent Questions


Q: I have a problem. I am talking about TREE menu.
How can we get the value of a script for menu parameter, when a script for menu item is clicked? For example I want to get the URL or file name to be open by the script for menu item when it is clicked.
br>
A: If you want to open url or a file when you click on items of the tree script for 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

Related:
   
Copyright (c) 2012, DHTML-Menu.com
Home  |  Product Info  |  Samples  |  Download  |  Purchase  |  FAQ  |  Site Map  |  Write Us
All rights reserved. web design software | best website builder software | HTML5 Video | mp4 to webm | jquery slider