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 Mit Tree Frames

Features Dtree In Javascript Example

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 Java Script Dtree In Javascript Example
Cost Effective
Easy Setup
  • De Luxe Tuner. GUI interface to create your dtree in javascript example menus easily and in no time
  • Sensible menu parameters for manual editing
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.

  • You can set default expanded/collapsed items and submenus.
  • After clicking on menu item selected item becomes highlighted.
  • When the submenu is larger than the visible area of the page the submenu will be automatically decreased. To see all the submenu items you do not need to use scrollbars or something like that - just put your mouse to the bottom of a submenu and it will be automatically scrolled! You can also specify height and width for each separate submenu.
  • There is no need to write additional code on a server side to remember what items were expanded/collapsed. Javascript/DHTML Tree can save items state automatically!

Recent Questions Dtree In Javascript Example

Q: How can I manage that the last clicked javascript expanding tree item stays tree highlighted?

A: We have the following API function to highlight the pressed item in Javascript/DHTML Tree
function dtreet_ext_setPressedItem (menuInd, itemID)

But unfortunately this function doesn't work for AJAX submenus.

We'll try to add this feature soon (using save state feature).


Q: I've been trying to get the menu item in dynamic tree menu to stay highlighted when clicked on and directed to that page.

A: Tree Menu doesn't save a presseditem as it saves a tree state.
It works within 1 page only and if youreload the page you should set a pressed item using Javascript API:

function apyt_ext_setPressedItem(menuInd, itemID)

<script type="text/javascript">

  var i = 4 //index of the selected item
onload=setPressed;
function setPressed()
{
dtreet_ext_setPressedItem(0,dtreet_ext_getItemIDByIndex(0, i));
}


To expand specific items you should use the following function:
dtreet_ext_expandItem (dtreet_ext_getItemIDByIndex (0, 11), 1);


Q: The buttons show up just fine in IE, but not in the other browsers. I am using Frontpage for my html.


A: Your file names are incorrect.
For example, now you have:
Button gold side 2 NEW.GIF
Button purple side 2 NEW.GIF

Firefox and Opera cannot open a file with blanks in the name.

Please, rename your files, for example:

Button_gold_.GIF
Button_purple.GIF

Your menu will work fine.


Q: How about getting the entire side navigation bar to sit in the centre rather than left align?

A: You can set your menu in the <div> tag and use the alignment you need:

<!-- 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) 2009, http://deluxe-menu.com -->

<div align="center">
<script type="text/javascript" src="menudir/data.js"></script>
</div>