Recent Questions
Q: Is it possible for dhtml vertical tabs to have a link on page that links to
second page by passes the default setting then selects and displays
the information in the tab you need?
A: You can use the following function to open specific tab:
dtabs_itemClick(menuInd,itemInd);
where
menuInd - index of a tab menu on a page, >= 0.
itemInd - index of a item, >=0.
For example:
<DIV onClick="dtabs_itemClick(0,2)" style="width: 200px; border: 2px solid #000;">
Click to open the third tab
</DIV>Q: In our application we want to have the drop down menu configured inside IFrame but still visible on the page. Currently the menu slides down inside the iframe,
Is this scenario configurable.
A: Deluxe Menu don't work with <IFrame> objects. They work with<frameset> objects only.
All they can to do with <IFrame> is to loadpages into it.
Q: Are there the possibility to have the dhtml menu code into an external file so that nothing of the dhtml menu code will appear on my html code?
A: Menu has data.js (by default) data file with menu parameters, itemsand styles and 9 engine files.
You should only call two .js files on your html page.
See more info here:
http://deluxe-menu.com/description-of-files-info.html
http://deluxe-menu.com/installation-info.html
Q: I've looked through the FAQ's till my eyes burned... I know how to collapse/expand all on page load, but can't find an answer to this specific question
I am using tsaveState=1 and tcloseExpanded=1 and that works great when navigating the javascript vertical tree menu. But I'd like to be able to tell the javascript vertical tree menu to collapse all the way on the initial page load, without resetting those first two variables.
for instance;
a user logs on, goes to the order page, uses the menu to navigate and place an order. After the order is processed through a php verification page, the user is directed back to the order page via the php header() function, with the menu still intact, and the values of the order updated.
But once the user navigates away from the order page, and then returns to complete another order, I'd like the menu items to all be collapsed.
If that's not an inherent design of your menu program, is there a variable that I can pass with the initial load that will cause a full collapse?
A: No, unfortunately there is no such parameter in Deluxe Tree.
But you can try to delete
var tsaveState=1;
parameter from your data file and add it on your html page directly.
So, on your initial page you can set:
var tsaveState=0;
and on other pages you should set:
var tsaveState=1;