|
|
|
I want to open the URL or file name in javascript drop down menus 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 javascript drop down menus parameter, when a javascript drop down menus
item is clicked? For example I want to get the URL or file name to be
open by the javascript drop down menus item when it is clicked.
br>
A:
If you want to open url or a file when you click on items of the tree javascript drop down menus 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:
- March 26, 2009 - After click the links the javascript right click menu stops showing up in cross-frame mode...
- Apr 06, 2009 - Can the link items NOT open a new window in the popup menu?
- Apr 20, 2009 - I'm interested in in the actual java script menue selection opening in the second frame
- Apr 23, 2009 - I cannot configure the actual links or link names in the dropdown menu java?
- May 28, 2009 - Can we specify our own onclick event handler for the dhtml dynamic menu item?
- Jun 16, 2009 - I want to add a javascript link with onclick event to the html dropdown menus
- Jun 18, 2009 - Is there a way to show a links like I have in the dynamic html menus if the JavaScript is not allowed on computer?
- Jun 20, 2009 - The floating buttons turn white when I open my site and hovered over the menu drop down.
- Jul 06, 2009 - Can I create context menus on right click with Menu in css?
- Jul 13, 2009 - How can I open menu javascript dhtml on mouseover?
- Jul 23, 2009 - I can't see menu button on my test page only direct links...
|