Tree Menu Html Code by Deluxe-Tree.com
Tree Menu Html Code


Buy Now!  Free Trial Download

Menu Screenshots Tree Menu Html Code

Tree Menu Html Code Drop Down Menu Tree View

Features Tree Menu Html Code

Cost Effective
Unrivalled Features
  • Scrollable, dragable, floating
  • Unique Java Script API for altering menu "on-the-fly", without page reloading
  • AJAX technology - loads menu data from the server "on-fly and on-demand".
Java Script Simple Tree Tree Menu Html Code
Professional Look-n-feel
  • Entirely customizable look-n-feel
  • A lot of pre-designed tree menu html code samples
  • Hundreds of visual effects
  • Custom CSS styles can be applied for all menu settings
Compatibility              
  • Full cross-browser compatibility including IE, Netscape, Mozilla, Opera, Firefox, Konqueror and Safari on Windows, Mac OS and Linux
  • Menu can be populated from a database using ASP, PHP, etc.
  • Search engine friendly
  • Support for any doctypes
  • Fits for secure sites
Seamless Integration
  • Visible over flash, select boxes, iframes, java applets
  • Multiple menus on the same page
  • Amicable to other scripts and css styles
  • Any HTML code can be used inside menu items
Buy Now!  Free Trial Download

Javascript Tree Menu. Expandable Menu.

  • There is no need to write additional code on a server side to remember what items were expanded/collapsed. Javascript/DHTML Tree can save items state automatically!
  • When the submenu is bigger than the visible page area, you can use the scollbar for submenus to scroll your menu!

Recent Questions Tree Menu Html Code

Q: Expandable javascript menu doesn't actually affect the plus/minus icon I have specified. Any ideas?

A: It is not correctly to add expand/collapse buttons into the iconfield, they won't work. You should add icons there.

To add expand/collapse buttons you should use the followingparameters:

  var texpandBtn=["img/expandbtn.gif","img/expandbtn.gif","img/collapsebtn.gif"];
  var texpandBtnW=14;
  var texpandBtnH=14;
  var texpandBtnAlign="left";



Q: On the same collapsible menus, is there any way to remove the spaces between the top items?

A: No, unfortunately there is no way to remove that space in XP Style
  var tXPStyle=1;

If you use
  var tXPStyle=0;

you can set the following parameter:
  var titemHeight=18;



Q: I've finally got it working and it looks good. So thanks. But... unfortunally there's still a small problem wich occured after I got everything else working: No matter if I set the parmeter "  var texpanded" to '1' or '0' it expands by default tree menu javascript. Why?

I also have another question I forgot to ask you about earlier: Originally I only had the data.js file but in the non-profit zip file you gave me there was no "data.js" file, only "data-tree.js". Wich one will the script use? Do I need both? The javascript call I put where I want the menu to appear calls for "DATA. js". So what good does the "data-TREE.js" file do?

I include the "data.js" file if you need to have a look at it. The "data-tree. js" file is identical now that I changed all the "  var tmenuItems" at the bottom). (The "menu.html" I guess you can look at yourself by "View source".)

Also, the submenus where I would like to put XP style menus are not finished yet but for now I have the same "tree" script in them. They are under "DART/dartspel.html", and on six artist discographys under MUSIK: Edguy, Katie Melua, Joe Satriani, Michael Schenker, Trans-Siberian Orchestra and Magnus Uggla. This is if you'ld like to see the sub pages where I use other "copys" of Deluxe-tree. (I hope you don't mind that the "Illegal copyright" nag is very small. It's supposed to dissapear anyway with the new Non-profit license).

A: 1) See the structure of your tmenuItems is incorrect now.

You should write:
["->HEM (Klicka f?r meny)","welcome.html", "data.files/hem.gif", "data.files/hem2.gif", "data.files/hem.gif", "Startsidan", "right", "", ],
Without '|' symbol in the beginning.

2) You should write tleft parameter correctly. Now you have:

//--- Positioning
  var tabsolute=1;
  var tleft="00px";
  var ttop="10px";

Write it in the following way:
  var tleft="10px";

3) data-tree.js file is the default tree menu javascript file. There is no need to use it if you already haveyour data.js file.


Q: There is the possibility in the menu that an item has access control, that is is visible or not depending of the user?


A: You can use Javascript API and write your own code.

See more info here:
http://deluxe-menu.com/functions-info.html

You can use

dm_ext_changeItem (menuInd, submenuInd, itemInd, iParams)
to disable your items or

dm_ext_changeItemVisibility (menuInd, submenuInd, itemInd, visibility)
to hide your items.