Recent Questions
Q: Hello. I have noticed that when you expand a menu and then click to another page, the menu is collapsed on the next page. I read about "state saving" and tried the parameter which did not work. Is there a way to accomplish this?
A: You can see the example for state saving here:
http://dhtml-menu.com/tree-examples/tree-menuxp-save-state.html
This menu saves its state.
To enable this mode you should include dtree_ss.js file intoyour html page and set the following parameter:
var tsaveState = 1;
See, if you open pages (with menus) from different folder itmeans that you open different menus. So, when you change a state, forexample, of the first menu within "content/" folder and then openanother page with the menu within "content/subfolder/", browsers looks for anothercookie file and can't find it and the second menu stays in a defaultstate. Is it clear?
Q: Ever since I installed the menu on our website the homepage loadsslowly.
The menu loads, but then the rest of the page takes about 20 seconds toload. Have you seen this problem before.
It does not happen every time and noton every machine.
A: We've tested your website on the many machines and it loads very quickly, I cannot notice any delays.
Please, try to move the reference to dmenu.js after tag:
<body onload="...">
...
<!-- Deluxe Menu -->
<noscript><a href="http://deluxe-menu.com">Javascript Menu by Deluxe-Menu.com</a></noscript>
<script type="text/javascript"> var dmWorkPath = "";</script>
<script type="text/javascript" src="dmenu.js"></script>
<!-- (c) 2006, http://deluxe-menu.com -->
</span>
Q: We are looking at JavaScript libraries for our website, and we liked what we saw with your product deluxe-tabs. However, we have a need for both horizontal and vertical tabs, as well as nesting tabs. We would like the vertical (and nested tabs) to have the same capabilities and features as the horizontal tabs. We notive the vertical tab image example, but that was all we could find. Are there more extensive examples that show the same functionality as the horizontal tabs? Is the product, as is, capable of the same functionality for both vertical and horizontal tabs?
A: See, to create vertical tabs you should add '$' symbol before the itemtext in the first item of the next row.
You can use templates, add '$' symbol and adjust some parameters.
Q: I need to set individual itemtargets for a number of menu script items......
example:-
var itemTarget="Main";
menuitem_1 targets the Main frame..
menuitem_2 ..
SUBmenuitem_2_(1) targets the Top frame..
SUBmenuitem_2_(2) targets the Main frame..
menuitem_3 ..
SUBmenuitem_3_(1) targets the Main frame..
SUBmenuitem_3_(2) targets the Bottom frame..
menuitem_4 targets the Main frame..
Is this possible?
A: You can set target parameter for all items:
var itemTarget="_blank";
or
var itemTarget="main";
Where main - is the name of the main frame where you want to open the link.
or for each item individually:
["Home","testlink.html", "", "", "", "_blank", "", "", "", "", "", ],
...
["Home","testlink.html", "", "", "", "main", "", "", "", "", "", ],