Recent Questions Smoothly Open Tree Menu
Q: > Does you tree menu php support right-to-left layout? that is to say it opens thebranches/submenus from the right to left .
A: Yes it is possible to create a menu for right-to-left languages with Javascript/DHTML Tree in the same way as in standard htmlcode.
Please, set <HTML dir="rtl">.
You should set the following parameters:
var titemAlign="right";
var ticonAlign="right";
var texpandBtnAlign="right";
JavaScript Tree Menu support right-to-left languages.
In JavaScript Tree Menu you can set the following parameter:
var dmRTL = 1;
Set this parameter to 1 if you're using right-to-left direction of html page <HTML dir=rtl>.Q: I'm loving your product! It has definitely made my life easier.
I do have a question however. I know if I put a "+" in front of the title, the category will be expanded by default.
["+PRODUCTS","", "", "", "", "", "", "", "", ],
Is there a way to do that dynamically? Maybe have some code that would tell the sliding tree menu to expand on that particular page?
A: On your pages you should call the following function/functions to expand/highlight items, for example:
<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.htmlQ: I’m looking for a popup multilevel menu. I think from your website that your menus will do this for but I can’t figure out using the trial version how to do it.
I have an image map of a graphic and I need to call my javascript pop out menu from an OnMouseOver in the image map…
<areahref="#"onmouseover=""shape="rect"coords="120, 124, 180, 136">
Obviously I can’t put the standard <script>… as described in your sample.
Is there a setting that I need to change or is this not possible with your javascript pop out menu.
A: You can try to use Popup Menu, see more info:
http://deluxe-menu.com/popup-mode-sample.html
See how you should call pop up menu
<img src="data-samples/images/popup_pic.gif" width=180 height=119 onmouseover="return dm_popup(0, 2000, event);" onClick="return dm_popup(1, 2000, event);" style="cursor: pointer;"><br>
You can create your javascript pop out menu using Deluxe Tuner application.
Q: The value of dmAJAXCount = 0 (we don't set that parameter).
How exactly does this parameter work? When does it have to be set?
A: That variable set the maximal number of submenus that will be loadedfrom server on your page.
If you don't know exact number of submenus you can set a big value forthis parameter.