Dtree In Javascript Example by Deluxe-Tree.com
Dtree In Javascript Example


Buy Now!  Free Trial Download

Menu Screenshots Dtree In Javascript Example

Dtree In Javascript Example Scroll Down Menu Tree

Features Dtree In Javascript Example

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
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
Tree Create Popup Dtree In Javascript Example
Professional Look-n-feel
  • Entirely customizable look-n-feel
  • A lot of pre-designed dtree in javascript example samples
  • Hundreds of visual effects
  • Custom CSS styles can be applied for all menu settings
Cost Effective
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
Buy Now!  Free Trial Download

Javascript Tree Menu. Expandable Menu.

  • Good navigation system is an important part of web site success. If people can't find their way around the site, they will rapidly give up looking and go, never to return. So, it's very significant that your website has a neat, fast, and gratifying to the eye navigation.
    Don't permit your web site visitors to get lost. Try Javascript/DHTML Tree!

Recent Questions Dtree In Javascript Example

Q: I’m very interested in your script of deluxe-menu.
I tryed your script out and have some questions now:

How do I highlight main menu items when I selected a main category?
How do I highlight submenu items when I selected a sub category?
How can I have a submenu unfoldet when I selected the matching main category?

I would be pleased to have answers to my questions as soon as possible.
Thank you for support!


A: The menu has only two states normal and mouseover. We'll try to add the pressed state in the future.

You can 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: Can I call javascript within the drop menu javascript?

A: Yes, it is possible.
Actually you can use your own Javascript code instead standard links and html code inside item text. For example:

  var menuItems = [
["text", "javascript:your_code_here"]
];

or

  var menuitems = [
["<div onClick='urlSubstitution(\'transco/sheet.asp?stype=1\')'>Table of Contents</div>", ""]
];


s

Q: It all works great under IE, but when you view it in Firefox the fly-out menus (off of Products, Services & About Us) do not appear over the Flash animation to the right in IE.

It works fine under Firefox on all other pages apart form Home, because Home is the only page with containing the Flash animation.

Could you please have a look and let us know if this is a known issue (we're using the latest 8 dmenu .js file, time-stamped 11 April 2006).

Thanks in anticipation.


A: Please, try to set this parameter:

  var dmObjectsCheck=1;


Q: I am trying out your menu and I've made out a little test case in the attached file.

If you run it, you will see that the horizontal drop down menu css scrollsOUTSIDE the container div to the edges of the window. Is there anyway I can make the hhorizontal drop down menu css be within the container div and yet scroll?

And will the solution be cross-browser?

Note that menuDiv needs to have a collapsableDiv style. I am assuming that that is not a problem.

A: Try to set exact width for the submenu:

  var smWidth="925px";