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 Tree Horizontal Menu Tree

Features Dtree In Javascript Example

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
Professional Look-n-feel
  • Entirely customizable look-n-feel
  • A lot of pre-designed dtree in javascript example samples
  • Hundreds of visual effects
  • Custom CSS styles can be applied for all menu settings
Tree Popup Drag 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
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".
Cost Effective
Buy Now!  Free Trial Download

Javascript Tree Menu. Expandable Menu.

  • There can be as many submenus as you want.
  • Use a mouse to drag a menu as a usual window.
  • When the page is scrolled the menu remains visible. The Javascript/DHTML Tree can "float" along one or two coordinate axes. After clicking on menu item selected item becomes highlighted.

Recent Questions Dtree In Javascript Example

Q: How change the color of the link in the dhtml vertical menu if the link is already visited.

A: JavaScript Tree Menu has only two states normal and mouseover,
butyou can highlight menu items in two ways:

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="http://deluxe-menu.com">Javascript Menu by Deluxe-Menu.com</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.
You can find more info here:
http://www.deluxe-menu.com/highlighted-items-sample.html



Q: Do drop down menu examples work with google page creator ? Orare there any problems ?

A: See how you should install JavaScript Tree Menu on your pages.
JavaScript Tree Menus weren't developed as Google Page Creator/Dreamweaver/Frontpage extension,
BUT you can use it as standard Javascript files.
To install the menuinto your html page:

1. open the page in your program
2. open html source code of the page
3. add several rows of code (<script> tags), For info see:
http://deluxe-tree.com/installation-info.html

That's all.

It is possible that your program changes some paths, so you havean error in the preview.
On your site or in your browser there'll be no errors.

Q: How can I upgrade to JavaScript Tree Menu v2.0? Now I'm using v1.14.


A: How to upgrade to v2.00
---------------------------------------------------------------
You can download the licensed engine .js files from the same link in your license message.
JavaScript Tree Menu v2.00 has new parameters and features.
To upgrade to v2.00 you should do the following.

Step 1.
    1.1 For Windows users
      a. Run Deluxe Tuner v2.0
      (can be found in the trial menu package v2.0
      http://deluxe-menu.com/deluxe-menu.zip).
      b. Open menu data file (.js file where menu parameters are placed):
select File/Open…
      c. Save the file: select File/Save, then click "No" button when the dialog box appears.

    1.2 For other OS users
      a. Open menu data file (.js file where menu parameters are placed) in a text editor.
      b. Make sure that the following variables exist in the data file:

        var keystrokes = 0;
        var dm_focus = 1;
        var dm_actKey = 113;

        var dynamic = 0;
        var smHideOnClick = 1;
        var itemAlignTop = 'left';
        var smSmartScroll = 1;

        var dmAJAX = 0;
        var dmAJAXCount = 30;
        var dmRTL = 0;
        var dmObjectsCheck = 0;
        var menuBackRepeat = "repeat";
        var menuHeight = "";
        var transDuration2 = 200;

If one of the variables doesn't exist - add it at the beginning of the file.

      c. Save the file.

Step 2. Now open HTML-page that contains JavaScript Tree Menu.

Step 3. Replace existent tags of the menu by the following code:



Step 4. Save HTML-page.

Step 5. New engine v2.00 has 7 .js files.
They are:
      - dmenu.js
      - dmenu4.js
      - dmenu_add.js
      - dmenu_dyn.js
      - dmenu_key.js
      - dmenu_cf.js (new v2.00)
      - dmenu_popup.js (new v2.00)

Replace all old .js files by the files from v2.00.

Try that.


Q: I have to pass dynamic value from the link when the user click the mouseover menu.

A: Actually you can use your own Javascript code instead standard links. For example:

  var menuItems = [
["text", "javascript:your_code_here"]
];

or

  var menuitems = [
["<div onClick='your_code_here'>item text</div>", ""]
];