Recent Questions Treeview Js On MacQ:
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", , , , ],
I want to be able to pull information into dynamic drop down menu from the mysql database. A: You may generate a menu from a database or XML using any server-side script, e.g., PHP, ASP, VB, etc.
you should move parameters of a menu from a .js file into an html-page, e.g.:
<!-- (c) 2008, http://deluxe-menu.com -->
// and describe parameters of a menu
var menuItems = [
// here you generate items using server-side scripts (php, asp, vb, etc.)
The example of the menu working with PHP/MYSQL you can find here: