Dftree by Deluxe-Tree.com
Dftree


Buy Now!  Free Trial Download

Menu Screenshots Dftree

Dftree Dynamic Tree List

Features Dftree

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
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
Tree Drop Down Menus Tutorial Dftree
Easy Setup
  • De Luxe Tuner. GUI interface to create your dftree 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 dftree 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.

  • Tune menu parameters manually or using Deluxe Tuner. Then add several rows of a code within html page - your menu is ready!
  • Use special JavaScript functions for: Dynamic changing of items (text, link, icons and even individual style!). Making a menu item active/disabled. Addition/removing of items. Changing of visibility of items. Collapsing/expanding of items. Getting the information on any menu, submenu and items. Other tricks. But for all that it's not necessary to insert any additional code into all the pages - just specify some additional parameters of the menu.

Recent Questions Dftree

Q: Hi- I'm having a problem with a really wide horizontal code drop down menu. Rather than have it be so wide (due to the large number of items in it) we want it to wrap into a new row underneath the top so a visitor to the site doesn't have to use the scroll bar to scroll to the right to see the whole menu.

A: You can use multicolumn feature of JavaScript Tree Menu, see example

http://deluxe-menu.com/multicolumn-menu-sample.html

or
Smart Scrolling

http://deluxe-menu.com/scrollable-submenus-sample.html



Q: Can you provide an example of how to dynamically change the menu items at runtime for the dropdown menus?
(asp is fine, but if it needs to javascript that is also ok)

A: 1) You can use API functions to affect items dynamically:
http://deluxe-menu.com/functions-info.html

2)Generate your menu items dynamically from database.
Unfortunately we don't have working example with ASP.

You may generate a menu from a database or XML using any server-side script, e.g., PHP, ASP, VB, etc.
However, these scripts don't work inside of Javascript .js files, so,
you should move parameters of a menu from a .js file into an html-page, e.g.:

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

<script type="text/javascript" language="JavaScript1.2">
// and describe parameters of a menu
  var parameter1=value1;
  var parameter2=value2;
etc.

  var menuItems = [
// here you generate items using server-side scripts (php, asp, vb, etc.)
];
</script>

The example of the menu working with PHP/MYSQL you can find here:
http://deluxe-menu.com/rq-loading-bar-MySQL-support.html

Q: Is there any way to keep a menu lit up when going to another page? Or do the menus always have to default back to their normal state?
I want the menu to know what page the user is on and keep that section highlighted. Any ideas?


A: 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.


Q: We are showing the "incorrect copyright" on our menu for some reason and I need you to look at the code. It's been this way for about a month. My company is going to make me stop using your menu if I can't get the issue corrected so please help me determine why we are suddenly having this problem.

The notice shows up on IE 6, but not IE 7.


A: "Incorrect Copyright" means that the script can't find required copyright parameters.
To avoid this, please, change:

<script type="text/javascript" language="JavaScript1.2" src="dmenu.js"></script>

to:

<!-- JavaScript Tree Menu -->
<noscript><a href="http://deluxe-menu.com">Javascript Menu by Deluxe-Menu.com</a></noscript>
<script type="text/javascript" language="JavaScript1.2" src="dmenu.js"></script>
<!-- (c) 2006, Deluxe-Menu.com, http://deluxe-menu.com -->