Javascript Tree Examples by Deluxe-Tree.com
Javascript Tree Examples


Buy Now!  Free Trial Download

Menu Screenshots Javascript Tree Examples

Javascript Tree Examples Javascript Drag N Drop Tree

Features Javascript Tree Examples

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
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
Vertical Tree Expanding Menus Javascript Tree Examples
Easy Setup
  • De Luxe Tuner. GUI interface to create your javascript tree examples menus easily and in no time
  • Sensible menu parameters for manual editing
Professional Look-n-feel
  • Entirely customizable look-n-feel
  • A lot of pre-designed javascript tree examples 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".
Buy Now!  Free Trial Download

Javascript Tree Menu. Expandable Menu.

  • Use a mouse to move a menu as a usual window.
  • When the page is scrolled the menu remains visible. The menu can "float" along one or two coordinate axes. After clicking on menu item selected item becomes highlighted.
  • There can be as many submenus as necessary. Any submenu in its turn can include different number of columns.

Recent Questions Javascript Tree Examples

Q: I now have the need to introduce separators on the menu.
Can you tell me how to do that?
I cannot find any documentation telling me how this is done.


A: Please, see the following parameters:

//--- Separators
  var separatorImage=""; //for subitems
  var separatorWidth="5";
  var separatorHeight="100%";
  var separatorAlignment="right";
  var separatorVImage="images/public/separator.gif"; //for the top items
  var separatorVWidth="3";
  var separatorVHeight="100%";
  var separatorPadding="";

You should set a separator in the menuItems, for example:

  var menuItems = [
["Home","index.cfm", , , , , , , , ],
["-"],
["About Us","about.cfm", , , , , , , , ],

];

Try that.


Q: I'd like to re order the position of the drop down menu's items (by example) the cities.

A-city
C-city
D-city
B-city
E-city etc.....

B-city had to come under A-city, how can we do that?
Thank you

A: I'm not sure I understand where you would like to change the position.In Deluxe Tuner or dynamically on your html page.

To move items in Deluxe Tuner select items you want and use a mouse drag'n'drop method.

See the attached screenshot. Click on the item you want to move.Move your mouse in the correct place (holding left mouse button).Wait till you'll have gray line in the place where you want to insertthe item and release mouse button.

To dynamically change your items you can use the following API function:function dm_ext_changeItem (menuInd, submenuInd, itemInd, iParams)

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


Q: Is it possible to use more than one Menu in one Site, for example with

<script type="text/javascript">  var dmWorkPath1 = "menue/produkt.files/";</script>
<script type="text/javascript" src="menue/produkt.files/dmenu.js"></script>
<script type="text/javascript">  var dmWorkPath2 = "menue/navigation.files/";</script>
<script type="text/javascript" src="menue/navigation.files/dmenu.js"></script>

unfortunately this syntax doesnґt work


A: You can use as many menus as you want on the one page.

But you should call dmWorkPath parameter and dmenu.js file only onceon the one page.

You cannot write dmWorkPath1 and dmWorkPath2. Youir menu won't workcorrectly in that case.

You should write
<!-- JavaScript Tree Menu -->
<noscript><a href="http://deluxe-menu.com">Javascript Menu by Deluxe-Menu.com</a></noscript>
<script type="text/javascript">  var dmWorkPath = "menudir/";</script>
<script type="text/javascript" src="menudir/dmenu.js"></script>
<!-- (c) 2007, http://deluxe-menu.com -->

and call several data files:
<script type="text/javascript" src="menudir/data1.js"></script>
...
<script type="text/javascript" src="menudir/data2.js"></script>
...
<script type="text/javascript" src="menudir/data3.js"></script>


Q: I've got an xp style menu that I'm trying to place within a table... Things are not rendering as I'd expect

I am trying to put the menu in the left column of the table, a form on the right side, and then center the entire table.
The html table is surrounded by a center tag (have tried a div tag with no difference).

It appears the xp menu is obeying the center tag, but not keeping it relative to the containing table...

How can I fix this issue? I have also attached the html source code as it is rendered in the browser in case that is of some use.

A: You should set the following parameter:

  var tabsolute = 0;

You're using absolute position for the menu now.