Recent Questions Devexpress Treeview Menu Example
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: When I load a page the first tab of the creating tab menu is always highlighted, not the contact tab.
A: I suppose that you've set the following parameter:
var bselectedItem=1;
So, the first tab is always highlighted.
This Tab menu can save pressed item automatically within1 page only.
If you open another page, the menu can't remember presseditem.
You should do that manually using Javascript and menu parameters
( var bselectedItem, var bselectedSmItem) or using any server-sidescript (php, asp, etc.)
You should delete this parameter from your data file and write thefollowing code
on each page before you call your data file, for example:
<script language="JavaScript1.2">
var bselectedItem = 3;
</script>
Q: I have tried changing every menu variable I can see to make the actual iconbackground a different color than the menu items background with no success.Is this possible?
I would like the icon background to change with the alternating colors byrow .. and I know how to do this. but when I do it .. all the menus andsubmenus also change and I would like their background to stay white.
A: Yes, it's possible.
You should use an individual style for icon item, please see
deluxe-menu.com/individual-styles-sample.html
deluxe-menu.com/individual-submenu-styles-info.html
Q: I am currently tasked with creating a large intra-type net for our company. ( knowledge base, FAQ etc. for internal use only ).
At this time I am making plain text or table based menus and getting tired of having to add the drop menus to EVERY page individually in our little intra-web. I would like to purchase software that makes groovy looking menus, but also get the information needed to have them appear on ALL pages after editing the menu once if you know what I mean.
Unfortunately my web authoring experience is best suited to circa-1996 web pages I can hash out in notepad in my sleep. However, I have been told in order to do what I am doing I need to use CSS or styles or cascading stylesheets and not sure if your software will do that.
If I purchase this software and whip up a neat little menu, would you be able to send me information on how to include it in a css as I described above? I would essentially need to know the code or commands to have it appear in all of the pages I create, once I make the menu file. If that is something you can assist me with, I can purchase this right away.
A: JavaScript Tree Menu is Javascript code only. It requires several .js files andit's generated on a client side.
If you don't want to create your drop menus on each page, you can try to useframes, the menu has a cross-frame mode. Also you can use aserver-side script (php, asp, vb, etc.) to generate html pages fromtemplates on your server.