Recent Questions Membuat Tree Menu Dinamic Dengan Php
Q: I'm using the deluxe-tree; my dynamic tree menu is very long; and the page has a vertical scroll bar as a result. My question is, does the dynamic tree menu support anchors? So let's say I do mypage.aspx#mynode, and mynode is a tree-node, and happens to be on the bottom of the page, can we make it so that the user goes to that node, without him using the vertical scroll bar?
A: No, it is not possible.
But you can collapse your tree menu by default:
var texpanded=0;
and use API functions to expand the specific items based on the page you are now:
<script>
dtreet_ext_expandItem (dtreet_ext_getItemIDByIndex (0, 0), 1);
dtreet_ext_setPressedItem (0, dtreet_ext_getItemIDByIndex (0, 1));
</script>
See more info about API functions here:
http://www.deluxe-tree.com/functions-info.html
Example:
http://deluxe-tree.com/highlight-selected-menu-item-sample.html
Q: We dont want to change the Target, Target will be always _self, but sometime the user would like to open links of easy drop down menu in a new window.
We just wnat to know if posible to do it.
A: I think that it is not possible to create such menu using Pop up menu.
But you can try to write your menuItems in the following way:
["|<a href='http://deluxe-menu.com/parameters-info.html'>Parameters Info</a>","", "", "", "", "", "", "", "", ],
Right click on the "Product Info/Parameters Info" item.
But you should create correct style for <a> tag.
Q: I'm evaluating a copy of deluxe-tree and have a question about long items. I need to be able to either automatically wrap the line to fit the width given in the tmenuWidth variable or insert line breaks as I see fit.
At the moment I have found that I can insert the <br> tag to force a line to break but it messes up the space after the menu, if I have several one after the other then they will sit close together. If I add a
at the beginning of the menu entry then the space before is bigger than the default.
Is there any easy way around this?
A: Try to set the following parameter:
var tnoWrap=0;
Q: What is the purpose of the blank image file in the Parameters panel of the create dhtml menu software?
Also, would you please direct me to a site or documentation that would provide information on such details?
A: If you won't use some images in the menu for examplearrows the blank image will be used.
So, you should set correct path to it.
You can find all documentation on our website.
http://deluxe-menu.com/parameters-info.html