Dynamic Tree Menu Sidebar Javascript Php by Deluxe-Tree.com
Dynamic Tree Menu Sidebar Javascript Php


Buy Now!  Free Trial Download

Menu Screenshots Dynamic Tree Menu Sidebar Javascript Php

Dynamic Tree Menu Sidebar Javascript Php Menu Tree Relative Position

Features Dynamic Tree Menu Sidebar Javascript Php

Professional Look-n-feel
  • Entirely customizable look-n-feel
  • A lot of pre-designed dynamic tree menu sidebar javascript php 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
Javascript Tree Collapsible Menu Dynamic Tree Menu Sidebar Javascript Php
Easy Setup
  • De Luxe Tuner. GUI interface to create your dynamic tree menu sidebar javascript php menus easily and in no time
  • Sensible menu parameters for manual editing
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.

  • You can set default expanded/collapsed items and submenus.
  • After clicking on menu item selected item becomes highlighted.
  • When the submenu is larger than the visible area of the page the submenu will be automatically decreased. To see all the submenu items you do not need to use scrollbars or something like that - just put your mouse to the bottom of a submenu and it will be automatically scrolled! You can also specify height and width for each separate submenu.
  • 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!

Recent Questions Dynamic Tree Menu Sidebar Javascript Php

Q: Could you please tel me : How to use UN-Code on the item. I make some menu based on Farsi language ( Arabic) , but it does not work.


A: You're able to use any characters for JavaScript Tree Menu in the same way asyou use them for standard html page.
The only issue is that submenus can be shown in incorrect positionwhen you're using dir=rtl for your page.

  var dmRTL = 0;
Set this parameter to 1 if you're using right-to-left direction of html page <HTML dir=rtl>.

Use also
  var smViewType = 2;
for right-to-left languages.

Please, see example:
http://deluxe-menu.com/ways-showing-submenus-sample.html

This examples demonstrates how the menu can change a submenusdirection. Use   var smViewType parameter to change a submenusdirection:

  var smViewType = 0..3;

Values:
0 - from left to right;
1 - from left to right + upwards;
2 - from right to left;
3 - from right to left + upwards;

In JavaScript Tree Menu when you call data .js file you can try to specify the encoding:

<script src="data.js" charset="utf-8"></script>

Unfortunately, you can't use arabic characters in Deluxe Tuner application.
You should manually correct your code.


Q: The submenu should look identical to the main menu but it is not allowing this.
Even though parameters are set to 0 it is showing smart scroll and also not showing the sub menus how they should be.
I also notice and error in the templates window view when I am looking at the javascript onmouseover menu.


A: You've set the exact width for your submenus:

  var smHeight="21px"; // it is the height of the whole submenu

It is not right.

Try to write:
  var smHeight="";

> I also notice and error in the templates window view when I am looking
> at the menu.

Now you have:

  var pressedItem="";

It is not correct. Try to set:

  var pressedItem="-2";

See the attached example.


Q: The popup menu gives the (first) menu of the top menu. I need of course for this to be the menu of the popup.


A: Installation of your menu is not correct.

Now you have:
1) There is no need to call dmenu_popup.js file. You should delete thefollowing line:
<script type="text/javascript" language="JavaScript1.2" src="dmenu_popup.js"></script>

2) Where you call source_pop.js file for Popup menu?
You should add:
<SCRIPT language=JavaScript1.2 src="menu_files/source_pop.js"type=text/javascript></SCRIPT>

3) The ID of your Popup menu is 1. Now you have ID - 0.
<img src="testimage.gif" width="200" height="200" onClick="return dm_popup(0, 9000, event);" style="cursor:hand;">

you should write:
<img src="testimage.gif" width="200" height="200" onClick="returndm_popup(1, 9000, event);" style="cursor:hand;">


Q: I want to use
function dtreet_ext_userRightClick(itemID) {

alert(itemID[0]); ???

return false;
}

But how do I refer to tmenuItems array using itemID in the javascript?
For example, if I want to pop a link text, should I use alert(itemID[0]))?
It doesn't work.
Please let me know how I refer to the menu.

A: You should use the following function to get item's info:

dtreet_ext_getItemParams (0, itemID);

For example:

<script type="text/javascript">

function dtreet_ext_userRightClick(itemID)
{   var link = [];
link = dtreet_ext_getItemParams (0, itemID);
//Returns item parameters in the array:
// [item_id, index_within_submenu, parentID, level, has_child, child_count, expanded, text, link, target, tip, align, icons, hidden, disabled, visible]

alert(link[7]);


return false;
}
</script>