Recent Questions
Q: We are evaluating your product Deluxe Tree-menu.
We want that when user clicks an item, then load other page. This other page also conatains the tree menu. But, we are looking for how we have to do for the previously clicked menu items in java (in the previous page) remains highlighted for inform to user what is his current page/selection.
We know toggleMode feature, but after the second page loads, the clicked item does not remain higlighted.
It is possible to achieve this behavior with your product???
A: You should use API functions in that case
function dtreet_ext_expandItem (itemID, expand)
function dtreet_ext_setPressedItem (menuInd, itemID)
See more info about API functions:
http://deluxe-tree.com/functions-info.html
See the samples:
http://deluxe-tree.com/dynamic-drop-down-menu-sample.html
and
http://deluxe-tree.com/highlight-selected-menu-item-sample.html
Q: I am in the process of building this site, but as you will see the menu text is showing on the top menue, but not the javascript hide menu itself.
A: You forgot to upload engine files on you server.
That is why you see search engine friendly code for the javascript hide menu only:
<div id="dmlinks" style="font:normal 11px Arial;color:#ff9966;text-decoration:none">
...
</div>
Notice that you should call dmenu.js file and dmWorkPath parameter on your html page only once.
You should write only
<noscript><a href="http://deluxe-menu.com">Javascript Menu by Deluxe-Menu.com</a></noscript>
<script type="text/javascript"> var dmWorkPath="OnlineHelp.files/";</script>
<script type="text/javascript" src="OnlineHelp.files/dmenu.js">
Q: I have downloaded the trial version of your software and would like to know if it is possible to expand the submenu when clicking on the text of the menu option? As far as I can find the only way to expand the the submenu is to click on the + icon before the menu text.
+ "Menu Option"
I would like to click on the words menu option to expand the submenu
+ "Menu Option"
+ Option 1
+ Option 2
Option 3
Option 4
A: You should set the following parameter:
var texpandItemClick=1;
Q: Where can I give the body of the javascript method which I use in cool dhtml menu?
A: You can define functions after menuItems, before you call dm_init();function.
var menuItems = [
["text", "javascript:your_function(...)", ...]
];
Where your_function(...):
function your_function(...)
{
.....
}