|  |  | 
      Return to Recent Questions I�m trying to set up Ajax  dhtml menu tree script but it doesn�t work.. 
 
 Q:
I�m trying to set up Ajax  dhtml menu tree script but it doesn�t work..
 
 A:
To enable AJAX Tree Menu use the following menu parameters:
 
 var tajax=1;
 
 Then set your menu in such way:
 
 var tmenuItems = [
 ["Deluxe Tree: XP Style","", "", "", "", "XP Title Tip", "", "0", "", "data-samples/data-ajax5.js", ],
 ["+Samples Gallery","", "", "", "", "XP Title Tip", "", "0", "0", "", ],
 ["|Samples Block 1","", "", "", "", "", "", "", "", "data-samples/data-ajax.js", ],
 ["|Samples Block 2","", "", "", "", "", "", "", "", "data-samples/data-ajax.js", ],
 ["|Samples Block 3","", "", "", "", "", "", "", "", "data-samples/data-ajax.js", ],
 ];
 
 Each .js file must contain menuItems variable for the submenu in the following format:
 
 var tmenuItems = [
 [text, link, icon1, icon2, icon2, tip, target, itemStyle, submenuStyle, jsFileName],];
 
 Where jsFileName - .js filename on the server that contains tmenuItems variable for the submenu.
For example:
 
 var tmenuItems = [
 ["Home","testlink.htm", "", "", "", "Home Page Tip", "", "", "", "", ],
 ["Product Info","", "", "", "", "Product Info Tip", "", "", "", "data-samples/data-ajax2.js", ],
 ["Samples","", "", "", "", "Samples Tip", "", "", "", "data-samples/data-ajax4.js", ],
 ["Purchase","testlink.htm", "", "", "", "Purchase Tip", "", "", "", "", ],
 ["Support","", "", "", "", "Support Tip", "", "", "", "", ],
 ["|Write Us","mailto:[email protected]", "", "", "", "", "", "", "", "", ],
 ];
 
 See more info here:
 http://deluxe-tree.com/ajax-menu-loading-sample.html
 
 
 Return to Recent Questions
 
 Related:
 
 
         Sep 06, 2006 - Can't see my javascript vertical tree menu in FireFox.
Sep 11, 2006 - If I use doctype the settings of the submenus in javascript dropdown menu get lost.
Sep 15, 2006 - Are vertical menus also supported? I don't see any in the javascript menu examples.
Sep 16, 2006 - I need to be able to highlight the selected menu item of the html tree menu.
Sep 17, 2006 - How can your javascript onmouseover menu be set to open by click?
Sep 18, 2006 - The submenus of the cross frame menu are offset by about 100 pixels to the right.
Sep 26, 2006 - Firefox doesn't support the dropshadow and effects in the javascript pull down menu.
Sep 26, 2006 - Is there a way to change the height of the main buttons in my simple dhtml menu.
Oct 06, 2006 - How can I use right-to-left languages in javascript popupmenu?
Oct 06, 2006 - Where I can find data.js file for tree javascript menu?
Oct 20, 2006 - Can you let me know, if javascript moving menu supports search engine friendly code?
 |