Tree Menu Script by Deluxe-Tree.com
Tree Menu Script


Buy Now!  Free Trial Download

Menu Screenshots Tree Menu Script

Tree Menu Script Tree Menus Dynamic

Features Tree Menu Script

Cost Effective
Easy Setup
  • De Luxe Tuner. GUI interface to create your tree menu script menus easily and in no time
  • Sensible menu parameters for manual editing
Tree Expandable Navigation Script Tree Menu Script
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
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
Buy Now!  Free Trial Download

Javascript Tree Menu. Expandable Menu.

  • 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!
  • When the submenu is bigger than the visible page area, you can use the scollbar for submenus to scroll your menu!

Recent Questions Tree Menu Script

Q: Your service is excellent and I am making progress learning the program. I was able to resolve the transparency issue thanks to your help but, but now I have another one that is stumping me.

I can get the menu to show up in my html document and it works as I hoped it would. However, no matter where I put the line of code in my html file, the down menu in dhtml always shows up at the very top of the page. The instructions indicate the following:

Copy the following code into clipboard and paste it into the place you want to have the down menu in dhtml:

<script type="text/javascript" src="newmenu2.js"></script>

For example, into a table cell:
<table>
<td><script type="text/javascript" src="newmenu2.js"></script></td>
</table>

No matter where I put the code:
<script type="text/javascript" src="newmenu2.js"></script>, the menu shows up at the top of the page.
What am I missing?

A: Check that you're using relative position for the down menu in dhtml:

  var absolutePos=0;
  var posX="0px";
  var posY="0px";



Q: I have another question regarding the popup window. I need to use an iframe within the popup window. Is there any way I can close the dhtml popup from the page loaded within the iframe?

A: You can close the popup using the following function:
document.getElementById('win').hide();

Unfortunately it won't work if you use iframe as window content.
You open another page in the popup (in Iframe) so you cannot accessdocument.getElementById('win').hide();
element which is situated on the first page.

When you use text or object_id as window content the content of the popup will be situatedon the same page so you can access document.getElementById('win') element and hide it.

There is a workaround.
Use text as content type and add the following code inside popup:

<a onclick="document.getElementById('win').hide();">...</a> <iframe></iframe>

Your link will work in that case.


Q: Where can I give the body of the javascript method which I use in cool dhtml menu?


A: You can define functions after menuItems, before you call dm_init();function.

  var menuItems = [
["text", "javascript:your_function(...)", ...]
];

Where your_function(...):

function your_function(...)
{
.....
}


Q: Is there a way to capture which menu item was clicked in the popup menu and store that information into a database?


A: See how you can find the ID of the clicked item:

  var menuItems = [
["Home","javascript:alert(itVar.id)", "", "", "", "_self", "3"],
];