Dhtml Tree Example Code by Deluxe-Tree.com
Dhtml Tree Example Code


Buy Now!  Free Trial Download

Menu Screenshots Dhtml Tree Example Code

Dhtml Tree Example Code Tree Horizontal Mouseover Menu

Features Dhtml Tree Example 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 dhtml tree example code menus easily and in no time
  • Sensible menu parameters for manual editing
Tree Expandable Menu Dhtml Tree Example Code
Professional Look-n-feel
  • Entirely customizable look-n-feel
  • A lot of pre-designed dhtml tree example 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
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.

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

Recent Questions Dhtml Tree Example Code

Q: If I use windows tree menu and published on my web site it is default all javascript tree menu and submenu are opened. I want that all menu is default closed if user click on main menu it will be opened submenu. Please wich parameters I have to change.

A: You should set the following parameter:

  var texpanded=0;

Check also that you don't have '+' sign before item's text in the top items, for example:

["+Home","", "", "", "", "", "", "0", "", ],
...
["+Item1","", "", "", "", "", "", "0", "", ],


Q: Is it possible to have your menu mouseover call one of my functions?
I need to change some text on the screen based on which menu itemis highlighted.

A: Each menu items can include any html code.
So, you can include your own objects with onmouseover event, forexample:

  var menuItems = [
["<div onmouseover='yourFunc()'>item text</div>"]
];

Where yourFunc() is Javascript function.



Q: I'm just trying out your trial version of deluxe menu with the menu tuner for a current website I am building. But I don't know how to use a template for a menu. Could you please guide me in the right direction as soon as you can??

A: Unfortunately we don't have step by step tutorial now. We'll try tocreate it in the nearest time.

HTML version of Deluxe Tuner (MAC version) can be downloaded
http://deluxe-menu.com/deluxe-tuner-html.zip

See more info:

http://deluxe-menu.com/deluxe-tuner-info.html

1. Create your menu in Deluxe Tuner application.
You can create any menu as you like in Deluxe Tuner.

You can use ready to use templates. I'm sending you package with alltemplates. Just open data file in Deluxe Tuner.

Add items and subitems using buttons "Add Item" and "Add Subitem" onthe main window.
You should set items and subitems parameters on the "Item Parameters"window.
See also other parameters for the menu on the main window.

More info about menu parameters you can find on our site (you can alsouse local version of the site which you can find in the trial package"JavaScript Tree Menu / deluxe-menu.com /")
http://deluxe-menu.com/parameters-info.html
http://deluxe-menu.com/menu-items-info.html

You can also use Individual Styles for items and subitems
http://deluxe-menu.com/individual-item-styles-info.html
http://deluxe-menu.com/individual-submenu-styles-info.html

2. You should install the menu on your page.

Add several rows into your html page.

<head>
...
<!-- JavaScript Tree Menu -->
<noscript><a href="http://deluxe-menu.com">Javascript Menu by Deluxe-Menu.com</a></noscript>
<script type="text/javascript">  var dmWorkPath="deluxe-menu.files/";</script>
<script type="text/javascript" src="deluxe-menu.files/dmenu.js"></script>
<script type="text/javascript" src="data-deluxe-menu.js"></script> //data-deluxe-menu.js - data file created in Deluxe Tuner.
...
</head>

<body>
...
<table>
<tr><td><script type="text/javascript" src="deluxe-menu.files/data.js"></script></td></tr>
</table>
...
</body>

You should also copy all engine files
dmenu.js
dmenu4.js
dmenu_add.js
dmenu_dyn.js
dmenu_key.js
dmenu_cf.js
dmenu_popup.js
dmenu_ajax.js
into "deluxe-menu.files/" folder. You should place this folder in thesame folder with your index. html page.



Q: I am using deluxe-menu for the third time to create a school web site. It has worked fine on the previous two sites, but I am making a horizontal menu this time instead of a vertical menu. The menu won't align itself correctly in Firefox. I read the post in your FAQ and I set the align tag in the TD element and also the size attribute, but that didn't work.

Could you give me some suggestions. It looks fine ie IE, but not Firefox.


A: Try to specify exact value for menu width.

For example:
  var menuWidth="800px";

It's necessary to specify exact value for Mozilla browsers. It helpsto position menus correctly.