- Horizontal or vertical orientation - Keyboard navigation - press Ctrl+F2 to enter the top menu - Visible over select boxes, iframes, pdf, flash, Java applets. - Unlimited number of sub levels - Filters and Transitional effects - Submenus automatically scrolls - Special JavaScript API for changing javascript menu "on-the-fly" - Cross-frame support - menus work on frameset-based pages
Build right-click menus for your site. For this purpose you should appoint a peculiar method for the object you want. The current X,Y of the mouse pointer or your own ones can be used for the context menu.
Design menus absolutely based on CSS (Cascading Style Sheets). It is possible to apply the personal CSS styles for every elements of the menu.
When the submenu is bigger than the visible page area, the size of submenu will be automatically decreased. To view 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 automagically scrolled! You can also define width and height for each submenu.
function dtreet_ext_expandItem (itemID, expand) function dtreet_ext_getItemIDByIndex (menuInd, itemInd) Q: I’m trying to setup a simple DHTML MENU (TREE MENU). It works just fine. I just have an issue that I can’t solve.
The parameter “ var tmenuHeight = "0"; Your documentation says the following -----------
Height of the menu in (px, % or other units). If the value 0 - the menu sets its height automatically. If the value is small - scrollbars appear.
In IE it looks fine but I cannot see the menu in Firefox. When I set the parameter to for example 100 then it shows up both in IE and Firefox. But I cannot set a value in pixels. I don’t know how big the menu is because it’s dynamically built. According to your doc I can specify the value in percentage but this doesn’t work. When I set the value to “100%” it doesn’t show up in Firefox again.
How can I solve this issue?
A: Try to set this parameter in the following way:
var tmenuHeight = "auto";
Q: I am wanting to load menu items from a sql database but I cannot understand how to do it using the example you provided.
I am using asp but do not know how to incorporate it into the above javascript. Would it be possible for you to provide me with an example please? I tried using <% …… %> but this did not work.
A: Unfortunately we don't have example with ASP.
The example of the menu working with PHP/MYSQL you can find here:
With this I had created a lot of submenus. So I searched that tree.php error, read threads -1- -2- and -3- . It seems that I have to go through each menu
With this I had created a lot of submenus. So I searched that tree.php error, read threads -1- -2- and -3- . It seems that I have to go through each menu
With this I had created a lot of submenus. So I searched that tree.php error, read threads -1- -2- and -3- . It seems that I have to go through each menu