Context Menu In Treeview Javascript by Deluxe-Tree.com
Context Menu In Treeview Javascript


Buy Now!  Free Trial Download

Menu Screenshots Context Menu In Treeview Javascript

Context Menu In Treeview Javascript Tree Horizontal Arrow Scroll

Features Context Menu In Treeview Javascript

Cost Effective
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".
Cool Dtree Context Menu In Treeview Javascript
Professional Look-n-feel
  • Entirely customizable look-n-feel
  • A lot of pre-designed context menu in treeview javascript samples
  • Hundreds of visual effects
  • Custom CSS styles can be applied for all menu settings
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
Easy Setup
  • De Luxe Tuner. GUI interface to create your context menu in treeview javascript 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 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 Context Menu In Treeview Javascript

Q: I am rewriting my homepage in CSS but now I have another problem with the DeLuxe menu.
The javascript top menu is well positioned on the page but the submenus are not.
The submenus are not positioned aside the javascript top menu but lower and far to much to the right.
I changed the variables

  var posX = 100;
  var posY = 100;
  var absolutePos = 1;
  var topDX = 0;
  var topDY = 0;
  var DX = -3;
  var DY = 0;
  var subMenuAlign = "left";
  var subMenuVAlign = "top";

Sometimes when I change the variables the submenus are well positioned and then, after enlarging the IE-window, they are not.
What can I do?

A: It is possible that you have some problems with your css styles.
See, the problem is that the javascript top menu 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="block">



Q: Where in the interface is there an area to make a tab selected or not for the div tab menu?


A: You should see the following parameters:

Top items
  var bselectedItem=1; //--- Common

Submenus
  var bselectedSmItem=10; //--- Tab-mode



Q: I figure I'm missing something basic ....

I've created a simple horizontal menu and uploaded the various files to to my website go generate the bar food menu

How do I add content to each tab rollovers so that the content will appear on this same page (as opposed to having to move to another page)?

i.e. when you click on starters, you see the starter below,
when you click on mains you see the mains below
etc. etc.

I'm new to this .....

A: You should paste your content in the <div> .. </div> tags.

<div id="content1" style=" visibility: hidden;" class="tabPage">
<br><br><br>
<p align=center><img src="img/logo_DM.gif" width=262 height=56 alt="Deluxe-Menu.com"></p>
</div>

<div id="content2" style="visibility: hidden;" class="tabPage">
<br><br><br>
<p align=center><img src="img/logo_DT.gif" width=262 height=56 alt="Deluxe-Tree.com"></p>

</div>

<div id="content3" style=" visibility: hidden;" class="tabPage">
<br><br><br>
<p align=center><img src="img/logo_DTabs.gif" width=254 height=58 alt="Deluxe-Tabs.com"></p>
</div>

See in Deluxe Tabs there are two modes:

1.   var tabMode=0;
You can create only one level of tabs and assign Object Id's of theDIV's to show when you click on the tab rollovers.

["XP Tab 1","content1", "", "", "", "", "", "", "", ],
["XP Tab 2","content2", "", "", "", "", "", "", "", ],
["XP Tab 3","content3", "", "", "", "", "", "", "", ],
["XP Tab 4","content4", "", "", "", "", "", "", "", ],

2.   var tabMode=1;
You can assign only links in this mode.
You should create top level items with subitems.

["XP Tab 1","", "", "", "", "", "", "", "", ],
     ["|Link 1_1","http://deluxe-tabs.com", "", "", "", "", "0", "", "", ],
     ["|Link 1_2","testlink.htm", "", "", "", "", "0", "", "", ],
     ["|Link 1_3","testlink.htm", "", "", "", "", "0", "", "", ],
     ["|Link 1_4","testlink.htm", "", "", "", "", "0", "", "", ],
     ["|Link 1_5","testlink.htm", "", "", "", "", "0", "", "", ],
["XP Tab 2","", "", "", "", "", "", "", "", ],
     ["|Link 2_1","testlink.htm", "", "", "", "", "0", "", "", ],
     ["|Link 2_2","testlink.htm", "", "", "", "", "0", "", "", ],
     ["|Link 2_3","testlink.htm", "", "", "", "", "0", "", "", ],
     ["|Link 2_4","testlink.htm", "", "", "", "", "0", "", "", ],
     ["|Link 2_5","testlink.htm", "", "", "", "", "0", "", "", ],
["XP Tab 3","", "", "", "", "", "", "", "", ],
     ["|Link 3_1","testlink.htm", "", "", "", "", "0", "", "", ],
     ["|Link 3_2","testlink.htm", "", "", "", "", "0", "", "", ],
     ["|Link 3_3","testlink.htm", "", "", "", "", "0", "", "", ],
     ["|Link 3_4","testlink.htm", "", "", "", "", "0", "", "", ],
     ["|Link 3_5","testlink.htm", "", "", "", "", "0", "", "", ],

You can use Object ID as well as Link in both modes. Use the following prefixes within item's link field:
"object:" - means that there is object id after it;
"link:" - means that there is a link after it.
"javascript:" - means that there is a javascript code after it, for example:javascript:alert(\'Hello!\')

So, you should write for example:

 ["|Link 1_1","object:Content1_1", "", "", "", "", "0", "", "", ],


Q: When I run the cursor over the menu, the menu images disappear for usually a split second, but sometimes for several seconds at a time. Is there a way to make the image static or keep it solid when the cursor runs over it?


A: You can have such effect when the page entirely was not loaded yet.
So, images were loaded only for the 1 state and for the other stat were not loaded yet.

If you don't want to have such effect you can use 1 state buttons.