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


Buy Now!  Free Trial Download

Menu Screenshots Script Tree Menu Howto

Script Tree Menu Howto Javascript Tree Folder

Features Script Tree Menu Howto

Professional Look-n-feel
  • Entirely customizable look-n-feel
  • A lot of pre-designed script tree menu howto samples
  • Hundreds of visual effects
  • Custom CSS styles can be applied for all menu settings
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
Java Menu Tree Script Tree Menu Howto
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".
Easy Setup
  • De Luxe Tuner. GUI interface to create your script tree menu howto menus easily and in no time
  • Sensible menu parameters for manual editing
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
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 Script Tree Menu Howto

Q: I want to use this menu with ASP. Can the link items NOT open a new window?
For ASP the current window needs to be used with whatever value is in the link parameter.


A: JavaSript menu uses window.open or href-method depending on the target parameter.
If you set "" or "_self" target the menu uses href-method and if youset "_blank" or frame name the menu uses window.open and opens your link in a new window.

You should use the following parameter
  var titemTarget = "_self";
or
  var titemTarget = "";

Please, see also individual items targets, for example:
{|The Team, http://www.domain.co.uk/receptionist.htm, _blank,}
Change "_blank" to "" or to "_self".


Q: If you use firefox this displays fine, in IE it seems to add cell padding around the bottom & right edge of the dhtml image menu. Cant see it in the code anywhere.

A: Set the following parameter:

  var shadowTop=0;



Q: The AJAX sample for tree menu script on website does not have any styling applied at the moment.
I am assuming that it would support full styling with AJAX as well.
Is this correct?

A: You can use any style and templates for the AJAX sample.
Create a menu and set style you need using Individual Item Styles.
To enable AJAX Tree Menu use the following menu parameters:

  var tajax=1;

Then set your menu in such way:

  var tmenuItems = [

["Javascript/DHTML Tree: XP Style","", "", "", "", "XP Title Tip", "", "0", "", "data-samples/data-ajax5.js", ],
["+Samples Gallery","", "", "", "", "XP Title Tip", "", "0", "0", "", ],
 ["|Samples Block 1","", "", "", "", "", "", "", "", "data-samples/data-ajax.js", ],
 ["|Samples Block 2","", "", "", "", "", "", "", "", "data-samples/data-ajax.js", ],
 ["|Samples Block 3","", "", "", "", "", "", "", "", "data-samples/data-ajax.js", ],
];

Each .js file must contain menuItems variable for the submenu in the following format:

  var tmenuItems = [

[text, link, icon1, icon2, icon2, tip, target, itemStyle, submenuStyle, jsFileName],
];

Where jsFileName - .js filename on the server that contains tmenuItems variable for the submenu.
For example:

  var tmenuItems = [

["Home","testlink.htm", "", "", "", "Home Page Tip", "", "", "", "", ],
["Product Info","", "", "", "", "Product Info Tip", "", "", "", "data-samples/data-ajax2.js", ],
["Samples","", "", "", "", "Samples Tip", "", "", "", "data-samples/data-ajax4.js", ],
["Purchase","testlink.htm", "", "", "", "Purchase Tip", "", "", "", "", ],
["Support","", "", "", "", "Support Tip", "", "", "", "", ],
 ["|Write Us","mailto:[email protected]", "", "", "", "", "", "", "", "", ],
];



Q: I was wondering why when I add the code below the flash disappears in safari, but now works in Firefox, when the dropdown menu is rolled over? Can it work in both Safari and Firefox?

function dm_ext_ruleObjectHide()
{
// Safari detect
if ((parseInt(navigator.productSub)>=20020000) && (navigator.vendor.indexOf('Apple Computer') != -1) && (navigator.product=='Gecko'))
return true;
else
return false;
}

A: The following code in this function

// Safari detect
if ((parseInt(navigator.productSub)>=20020000) && (navigator.vendor.indexOf('Apple Computer') != -1) && (navigator.product=='Gecko'))
return true;
hides flash in Safari.

JavaScript Tree Menu can't drop down over an object correctly in Safari that iswhy the latter will be hidden for a time when the submenu is shown.

You can try to delete this code.