Recent Questions As3 Tree Menu
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 Javascript/DHTML 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;
Q: Deluxe menu is working fine but could you provide some steps for using the javascript tab menu?
A: You should paste your content in the <div> .. </div> tags.
<div id="content1" style=" visibility: hidden;" class="tabPage">
<br><br><br>
<p align=center><img src="img/logo_DM.gif" width=262 height=56 alt="Deluxe-Menu.com"></p>
</div>
<div id="content2" style="visibility: hidden;" class="tabPage">
<br><br><br>
<p align=center><img src="img/logo_DT.gif" width=262 height=56 alt="Deluxe-Tree.com"></p>
</div>
<div id="content3" style=" visibility: hidden;" class="tabPage">
<br><br><br>
<p align=center><img src="img/logo_DTabs.gif" width=254 height=58 alt="Deluxe-Tabs.com"></p>
</div>
Q: I see one of the styles of tabs that Deluxe tabs can create is vertical ones, however, they appear just to be the floating type with images. I'd like a more traditional looking of javascript menu source code, non-floating tab to sit vertically. Is that possible with your software?
A: If you don't want that your Tabs Menu float you should set thefollowing javascript menu source code parameter:
var bfloatable=0;
Q: Is there a convenient template somewhere that allows me to have a standard windows tree control menu that stays open so that the user does not lose track of himself.
A: Thanks for your interest in our products.
You can expand any items when you load your page.
You should add "+" symbol before the item text. For example:
["+DHTML Menus","", "images/xpicon1.gif", , , "DHTML Menus", , "0", , , , ],
["|DHTML Menu","http://dhtml-menu.com", "images/icon1.gif", "images/icon1o.gif", "images/icon1o.gif", "Information", "_self", , , , , ],
["|+DHTML Tree Menu","", "images/icon1.gif", "images/icon1o.gif", "images/icon1o.gif", "Support", "_self", "2", , , , ],
["||2 styles: standard & XP","", , , , , , "3", , , , ],
["||Individual Item & Submenu Styles","", , , , , , "3", , , , ],