Magento Tree Menu by
Magento Tree Menu

Buy Now!  Free Trial Download

Menu Screenshots Magento Tree Menu

Magento Tree Menu Quick Menu Tree

Features Magento Tree Menu

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
Vertical Scroll Navigation Tree Magento Tree Menu
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".
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 magento tree menu menus easily and in no time
  • Sensible menu parameters for manual editing
Buy Now!  Free Trial Download

Javascript Tree Menu. Expandable Menu.

  • You can set the size of the menu in pixels, percent or other units. The menu may have an absolute or relative position (it can be inserted into the table).
  • Use any necessary font of any color, size and font decoration. Create any available type, thickness and color of a menu.Choose any color for backgrounds of submenus and items. Use special prefixes for image paths and links to make paths absolute.
  • You can assign your own images for lines.

Recent Questions Magento Tree Menu

Q: However, when I place it inside a CSS-defined div element (for absolute page placement) the submenu's all drop down a couple hundred pixels.

A: See, the problem is that the script can't get css properties of the object if they are described in separate .css block (or file).In other words, you can't get the value of "POSITION: absolute" attribute of the object if the object doesn't have this property within inline style (style="POSITION:absolute;"). To get the value you should move .css style into style="" attribute.

Please, try to add your
css file -> inline css, for example:

You should add style="POSITION: absolute;"

to the

<div id="menu">

So, you'll have:

<DIV id="menu" style="POSITION: absolute;">
Try that.

Q: I can’t seem to figure out how to keep last clicked item in my java menu script marked.

I use these options:

pressedItem = -1

  var saveNavigationPath = 1;

Where and how do I determine the background color of the clicked item?

I also have this problem on Javascript/DHTML Tree.

A: The menu has only two states normal and mouseover.

Try to do the following things:

- delete   var pressedItem=1; parameter from your data file
- set correct parameter on each page before you call data file, forexample:

<noscript><a href="">Javascript Menu by</a></noscript>
<script type="text/javascript">  var dmWorkPath = "menudir/";</script>
<script type="text/javascript" src="menudir/dmenu.js"></script>
<script type="text/javascript">  var pressedItem=3;</script>
<script type="text/javascript" src="menudir/data.js"></script>

You can also 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: How do I get a second javascript popup window on the same page?

A: You should create another popup for the second link. Notice that you should use differentID's:

<a id="win2" href="javascript:;">
<img height="173" align="bottom" width="150" x-sas-useimageheight="" x-sas-useimagewidth="" src="gifs/vargas2.gif"/>

in Deluxe Tuner specify another parameters:
WinID = window2
(Use another winID than you have in your first data file if you don't want to
close 1-st popup window after you open the 2-nd one or use the same winID=win if you want to close 1-st popup.)

new url
onClick = win2

Save this popup (use another name, for example: popup2.html).

Q: I'm just trying to get those little vertical spacers between menu items in the drop down menu.How can I do it with JavaScript Tree Menu.

A: Please, see the following parameters of the menu:
//------- Separators -------
  var separatorWidth = "10";
  var separatorHeight = "20";
  var separatorAlignment = "center";
  var separatorImage = "C";
  var separatorVWidth = "20";
  var separatorVHeight = "10%";
  var separatorVImage = "image.jpg";
You can create separators between items in the drop down menu using menuItems, for example:
  var menuItems = [
["item 1"],
["-"], // this item is separator
["item 2"],  ["|item 3"],
 ["|-"], // this subitem is separator
 ["|item 4"],