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


Buy Now!  Free Trial Download

Menu Screenshots Javascript Tree Menu Code

Javascript Tree Menu Code Tree Popup Menu Right Click

Features Javascript Tree Menu Code

High Performance
  • AJAX menu loading - loads web menu data from the server "on-the-fly".
  • Commonly loads quicker than other html page elements
  • Runs well with an unlimited number of submenus and items
Easy Setup
  • De Luxe Tuner. GUI interface to create your javascript tree menu code menus easily and in no time
  • Sensible menu parameters for manual editing
Tree Clear Drop Down Javascript Tree Menu Code
Professional Look-n-feel
  • Entirely customizable look-n-feel
  • A lot of pre-designed javascript tree menu code samples
  • Hundreds of visual effects
  • Custom CSS styles can be applied for all menu settings
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".
Cost Effective
Buy Now!  Free Trial Download

Javascript Tree Menu. Expandable Menu.

  • You can set the size of the menu in pixels, percent or other units. The menu may have an absolute or relative position (it can be inserted into the table).
  • Use any necessary font of any color, size and font decoration. Create any available type, thickness and color of a menu.Choose any color for backgrounds of submenus and items. Use special prefixes for image paths and links to make paths absolute.
  • You can assign your own images for lines.

Recent Questions Javascript Tree Menu Code

Q: No matter where I paste the script in the html for the drop down menu I created, it shows up at the top left corner of the page.

I would like it to go below the blue banner at the top of the page.
Please advise as to what I am doing wrong.


A: Now you're using absolute position for the menu:

  var absolutePos=1;
  var posX="10px";
  var posY="10px";

Try to use relative position

  var absolutePos=0;
  var posX="10px";
  var posY="10px";


Q: How can I open the links that I created for the items /sub-items on the same window
for the mouseover menu (not on a new window)?

A: You can set target parameter for all items:

  var itemTarget="_self";

or for each item individually:

["","testlink.htm","http://images.myregistry.com/images/myregistry/tabs/thingstodo.gif", "http://images.myregistry.com/images/myregistry/tabs/thingstodo1.gif", "Home Tip","_self", "0", "0", , ],




Q: It seems like that I'm unable to pull data from Word, Excel, JPG's etc into the floating window?

A: You can use the following content for the popup window:
Iframe(url);
Object_id;
text(html content).

So, to add image/text inside the popup window you should set:

winContent - Html Content
and add the following tag.
<img src="images/img.jpg" alt="screen">
<p align="right"> Text text .... </p>

To add content from the excel file you can export it to html file andthen set the following parameter:
winContent - Iframe(url)
data.html
and then enter the name of the html file with your excel data




Q: As a part-time webdeveloper I have gotten very interested in your product. I really appreciate a number of things

- it's very flexible
- it's very easy to work with
- examples nicely show the capabilities

But I have a couple of questions:

- When opening a menu, there is an option for keeping the menu-item that has been pressed hightlighed (so that the user can see what he/she pressed). Is it possible, programmatically, to decide when this highlighting should be removed? The scenario is that, when a menu-item is clicked the used might browse for a couple of pages within the context defined by the menu-item, but when the user leaves, the menu-item should no longer be highlighted. I will (programmatically) decide the context, but is it possible for me to interact with the menu, and for example decide explicitly which menu should be highlighted?
- Our design department would like the menu containing the elements: "Skovdrift, Juletreer, Skovrejsning, etc". Please notice that "Brende" is supposed to show a menu item that is hightlighted. Is is possible to create this menu such that it is dynamic and each item is text-based (and not based on two pictures for each menu-entry: hightlighted and not)? I've been wondering how to solve this problem, but I cannot figure out a solution. The problem that I is stuck at, is how organise this speciel "frame" around each menu-element. Something that be partly accomplished using "arrowImageMain", but that does not bring me all the way. Please notice that the menu-items might not have any sub-menu.


A: I suppose that you're saying about
  var pressedItem=-2;
Defines an item that will appear in the highlighted state
(-2 - normal mode, -1 - toggle mode is active, but highlighted item not defined, 0,1,2,3,... - # of pressed item including separators)

This parameter will not approach you.

You should set a pressed item using Javascript API:

function dm_ext_setPressedItem (menuInd, submenuInd, itemInd, recursion)

Sets a current pressed item.
menuInd - index of a menu on a page, >= 0.
submenuInd - index of a submenu, >= 0.
itemInd - index of an item, >=0.
recursion = true/false - highlight parent items.

But notice, to use dm_ext_setPressedItem() you should know ID of selected item and subitem.
You can't get this ID after you reload your page. That is why you should write your own code on PHP.