Recent Questions
Q: I am testing it on my website.
I have under the submenu 'Generalites" two links "Presentation" and "Formulaires"
I would like when I click on what ever link on the expandable javascript menu that the visited link stay in a different color and with a different background.
For exemple:
If I click on link Presentation then this link will become in a different color and also its background.
Then If I click on Formulaire the prevous link is reset and the Formulaire link appears in a differemt color and its backgroud. How should I do it ?
A: Deluxe Tree doesn't save a pressed
item as it saves a tree state. It works within 1 page only and if youreload the page you should set a pressed item using Javascript API:
function dtreet_ext_setPressedItem (menuInd, itemID)
Please, see here:
http://deluxe-tree.com/functions-info.html
You can also set
var tsaveState = 1;
More info you can find
http://deluxe-tree.com/data-samples/tree-menuxp-save-state.htm
To expand specific items you should use API function
function dtreet_ext_expandItem (itemID, expand)
Q: I am using a licensed copy of Deluxe Menu and am extremelyhappy with the dhtml mouseover menu and the functionalities provided. Great Work!!
I wanted to know how to hide/ disable a dhtml mouseover menu item for a particular user/roleid in .ASP.Net1.1
Kindly help me out with this problem as soon as possible.
A: You can find more info here:
http://deluxe-menu.com/dynamic-functions-sample.html
You can try to use API functions in that case:
function dm_ext_changeItemVisibility (menuInd, submenuInd, itemInd, visibility)
To disable items you should set the target parameter to "_".
You can try to use the following function
function disable() {
dm_ext_changeItem(0, 1, 1, ["", "", "", "", "", "_"]);
}
to disable your dhtml mouseover menu items.
Q: How can make my html vertical tabs to open internet link in the same window?
A: You should set the following paramter in your data.js file (file, created in Deluxe Tuner),
where your tab-menu parameters (vars) and items ( var bmenuItems) are placed.
var bitemTarget = "_blank";
Default target for all items ("_self","_blank","_parent","_top",...).
If equal to "" - defined as "_self".
Or you can set target parameter in your data file using Deluxe Tuner:
"Tab mode" section in the menu parameters list.
Q: Would it work to put the javascript command in the dhtml context menu Link entry so that when a person clicks on the menu item, he navigates to the webpage specified in the onclick?
A: Actually you can use your own Javascript code instead standard links and html code inside item text. For example:
var tmenuItems = [
["text", "javascript:window.location.href=myvalue"]
];
or
var tmenuitems = [
["Table of Contents
", ""]
];