Recent Questions
Q: If we spot a bug in the javascript menu code, what can be planned to have it corrected?
A: You should send an e-mail to the support [email protected] describe your problem in brief and send it to us by e-mail.You can also send us a direct link to a page with the error or copy ofyour html page (including .js files).
Q: Comprehensive Mental Health has a site license to \use Deluxe Menu. We are currentlyrunning version 2.0.
Unless we set the topdy parameter to be -65, our submenus do not appear adjacent to the toplevel menu. Below are our parameters and our menu. What is causing this problem?
A: It is possible that you have some problems with your css.
The problem is that the script can't get css properties of the object if they are described in separate .css block (or file).
In other words, you can't get the value of "position" attribute of the object if the object doesn't have this property within inline style(style="position:absolute"). To get the value you should move .css style into style="" attribute.
Please, try to add your
css file -> inline css, for example:
You should add <DIV id=SiteMenu>
to the
style="position:absolute;"
So, you'll have:
<DIV id=SiteMenu style="position:absolute;">
Check that.
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'm using your javascript onclick menu tabs. What exactly is bselectedSmItem for? I know that bselectedItem is the selected tab, but what is bselectedSmItem?
A: bselectedSmItem is index of the selected subtab.
You should use this javascript onclick menu parameter if you use var tabMode=1;
If you use var tabMode=0;
you should set it to:
var bselectedSmItem=0;