Context Menu Treeview Wpf Example by Deluxe-Tree.com
Context Menu Treeview Wpf Example


Buy Now!  Free Trial Download

Menu Screenshots Context Menu Treeview Wpf Example

Context Menu Treeview Wpf Example Menubar Tree

Features Context Menu Treeview Wpf Example

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
Cost Effective
Tree Drop Down Menu Fade Context Menu Treeview Wpf Example
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
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".
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 Context Menu Treeview Wpf Example

Q: I have a Menu called topnavbar.js when this menu is applied to a page not in a subfolder the links work. This topnavbar menu includes the following items; District Office, Cumberland Head Elementary School, Beekmantown Elementary School, Beekmantown Middle School, and Beekmantown High School.

However, if you put the topnavbar on a page that is located in a subfolder the links in the topnavbar add this subfolder name to the link.  So instead of districtoffice.htm the link is transportation/districtoffice.htm and that page doesn’t exist.


A: You can use additional parameters to make menu paths absolute:

  var pathPrefix_img = "http://domain.com/images/";
  var pathPrefix_link = "http://domain.com/pages/";

These parameters allow to make images and links paths absolute.
For example:

  var pathPrefix_img = "http://domain.com/images/";
  var pathPrefix_link = "http://domain.com/pages/";

  var menuItems = [
["text", "index.html", "icon1.gif", "icon2.gif"],
];

So, link path will be look so:
http://domain.com/pages/index.html

Images paths will be look so:
http://domain.com/images/icon1.gif
http://domain.com/images/icon2.gif

Please, try to use these parameters.


Q: I downloaded the trial version, so I’m doing some testing....

I can’t highlight the selected dhtml pop up menu item of the current page. The   var ttoggleMode is enabled and
tpressedFontColor = "#AA0000

This is caused by the trial version?

A: Please, check the following parameter

  var pressedItem=-2;
This parameter sets an index of an item that will be highlighted by default.
-2 - the toggle mode is disabled;-1 - the toggle mode is enabled, bu
t no items highlighted by default;
0,1,2,3,... - index of highlighted item in a top-menu.

The menu has only two states normal and mouseover. We'll try to add the pressed state in the future.

You can 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 also set the correct
  var pressedItem=1;
parameter on each html page.



Q: I'm currently experimenting with your script which I far more performant than any of the other I have tried so far, so we will probably go with yours and get a distributer license.

I do have a problem though...

I have two menus on my site.

Unfortunately, as they are being used, if you go over the first item in the left menu, it will show its submenu at the top; if you go over the first item of the top menu, it will also show the contents of the second menu...

How can we change this?


A: Installation of your menu is not correct.
See more info about installation here:
http://deluxe-menu.com/installation-info.html

There is no
<script type="text/javascript">  var dmWorkPath = "menudir/";</script>
parameter on your page.

Notice also that you should call dmenu.js file only once and then callyour data files.
Now you have two calls of dmenu.js file.


Q: I would like all my submenus of the html menu to appear in the same location on the page and not relative to the parent menu item.

A: You can do it using the following parameters:

  var subMenuAlign = "left"; - Horizontal alignment for submenus.

"pleft", "pcenter", "pright" - alignment relative to the parent submenu.

  var subMenuVAlign = "top"; - Submenus vertical alignment.

"ptop", "pcenter", "pbottom" - alignment relative to the parent submenu.