Html Tree Expand Collapse Example by Deluxe-Tree.com
Html Tree Expand Collapse Example


Buy Now!  Free Trial Download

Menu Screenshots Html Tree Expand Collapse Example

Html Tree Expand Collapse Example Tree Menu Creation

Features Html Tree Expand Collapse Example

Cost Effective
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 Mouseover Drop Down Menus Html Tree Expand Collapse Example
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
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 html tree expand collapse example menus easily and in no time
  • Sensible menu parameters for manual editing
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 Html Tree Expand Collapse Example

Q: I have an HTML application with 4 iframes. The main html file contains 3 iframes (top toolbar, left toolbar, and main area) and the menu. The main area iframe contains one additional iframe were the actual data is. When I interact with the data in this last iframe and try to dynamically change the menu in the .html file I get the error message: 'm' is null or not an object

The API call is:

dm_ext_addItem(0, 0, ["test1", "testlink.htm", "", "", "test1m", "_blank", "1"]);

I only have one menu.

I am using IE6

I included these files in both the hta file and the iframe source file.

<script type="text/javascript" src="./data.files/dmenu.js"></script>
<script type="text/javascript" src="./data.files/dmenu_dyn.js"></script>
<script type="text/javascript" src="./data.files/dmenu_key.js"></script>


A: JavaScript Tree Menu doesn't work with <IFrame> objects. It works with<frameset> objects only. All it can to do with <IFrame> is to loadpages into it.
You should use standard installation for the menu (cross-frame mode).

See more info here:
http://deluxe-menu.com/cross-frame-mode-sample.html
http://deluxe-menu.com/data-samples/cross-frame-horizontal-1-sample.htm

There is no need to call dmenu_...js files.

<script type="text/javascript" src="./data.files/dmenu.js"></script>
<script type="text/javascript" src="./data.files/dmenu_dyn.js"></script>
<script type="text/javascript" src="./data.files/dmenu_key.js"></script>

You should write:

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


Q: However when recreating the menus after deleting all trace of the trial version and loading on the licensed version I have developed problems.

When I create menus and test using expression web on explorer it works well but when published to web the dropdown menu appear but cannot be clicked on to be diverted to the relevant links. Also since loading the licensed version when using the test browser in expression web firefox a message appears as follows     “firefox dosen’t know how to open this address, because the protocol (c) isn’t associated with any program”.

Please advise I have loaded the licence in the correct way I’m sure.


A: You cannot use local paths on your website. They won't work.

["Home","", "", "", "", "", "0", "0", "", ],
 ["|Localmag Homepage","C:/Documents and Settings/ME/My Documents/localmagwebsite/index.htm", "", "", "", "", "", "", "", ],
 ["|Medway Homepage","C:/Documents and Settings/ME/My Documents/localmagwebsite/medwaytowns/medwayhomepage.html", "", "", "", "", "", "", "", ],
["Charity","", "", "", "", "", "0", "", "", ],
 ["|childrens","C:/Documents and Settings/ME/My Documents/localmagwebsite/medwaytowns/charities/childrenscharities/childrens_charity_home_page.htm", "", "", "", "", "","", "", ],
 ["|medical","C:/Documents and Settings/ME/My Documents/localmagwebsite/medwaytowns/charities/medicalcharities/medical_charity_home_page.htm", "", "", "", "", "", "","", ],
 ["|religious","C:/Documents and Settings/ME/My Documents/localmagwebsite/medwaytowns/charities/religiouscharities/religious_charity_home_page.htm", "", "", "", "", "","", "", ],

You should write
["Home","", "", "", "", "", "0", "0", "", ],
 ["|Localmag Homepage","localmagwebsite/index.htm", "", "", "", "", "", "", "", ],
 ["|Medway Homepage","localmagwebsite/medwaytowns/medwayhomepage.html", "", "", "", "", "", "", "", ],
["Charity","", "", "", "", "", "0", "", "", ],
 ["|childrens","localmagwebsite/medwaytowns/charities/childrenscharities/childrens_charity_home_page.htm", "", "", "", "", "", "", "", ],
 ["|medical","localmagwebsite/medwaytowns/charities/medicalcharities/medical_charity_home_page.htm", "", "", "", "", "", "", "", ],
 ["|religious","localmagwebsite/medwaytowns/charities/religiouscharities/religious_charity_home_page.htm", "", "", "", "", "", "", "", ],


Q: We want to evaluate Delux Menu(DM). But before doing any testing I want to ask few questions.

-#1 Can DM support context menus on right click with in a DIV and on a button click.

ex: I have a Options button on the web page and also a DIV which is transformed using xml and xsl.

Onclick of the button and right click within the DIV area should popup the same menu.

I have various DIVs and each DIV has its own context menu.

-#2 Any issues like IE memory leaks by using DM. I am asking this we are having some issues with the present menu control we are using. IE hangs up when the web page is idle for more than 20 mins.


A: 1. JavaScript Tree Menus supports such a feature. Please, go tohttp://deluxe-menu.com, section "Samples->Functional Samples->Popup Menu"

You can create any number of menus on a page.

2. We don't know about such a problem with JavaScript Tree Menu. Please, try atrial version of DM. It has a full functionality.


Q: I need a navigation bar dhtml where on the click of certain items, server side code on the page can be called and executed.
I need to create a multiple item select menu. Sothe menu would need to remain open and allow a user to selectmultiple items and would either submit onmouseout or maybe a “submitthese selections” menu item.

A: You can try to use Javascript/DHTML Tree in that case:
http://deluxe-tree.com

You can paste any html code inside item text, see example here:
http://deluxe-tree.com/data-samples/tree-menu1.js

["+Support", "", "icon5_t.gif", "icon5_to.gif", "", "Support Tip"],
 ["|Index  <select style='width:120px;height:17px;font:normal 10px Tahoma,Arial;'><option>Section 1<option>Section 2<option>Section 3</select>", "", "", "", "", "","", "0"],
 ["|Search <input type=text style='width:80px;height:17px;font:normal 10px Tahoma,Arial;'>  <input type=button value='Go'style='width:30px;height:17px;font:normal 10px Tahoma,Arial;'>", "", "", "", "", "", "", "0"],
 ["|Write Us", "mailto:[email protected]", ""],
 ["|<INPUT TYPE=checkbox CHECKED ID=chk1 onclick='choosebox1()'>Uncheck this check box for some free advice","","","",],
["<img src='img/sep.gif' width=113 height=1>"],

You should also add your own code, so your checkbox will workcorrectly.