Recent Questions
Q: Is there a way to programmatically specify which tab is selected in the html tabs navigation?
A: You can set "bselectedItem" and " var bselectedSmItem" parameters based on your link before you call your data file.
For example, move " var bselectedItem" and " var bselectedSmItem" parameters from your data file to your code.
<TD vAlign=top align=left>
/* Select Tab */
<script type="text/javascript" language="JavaScript1.2">
var bselectedItem= var bselectedSmItem= </script>
<SCRIPT src="data.js" type=text/javascript></SCRIPT>
</TD>
You should define seltabs and selsmtabs using server side script.
You can also set it on every page before you call data.js file, for example:
<TD vAlign=top align=left>
/* Select Tab */
<script type="text/javascript" language="JavaScript1.2">
var bselectedItem=4;
var bselectedSmItem=3;
</script>
<SCRIPT src="data.js" type=text/javascript></SCRIPT>
</TD>
Q: My tree menu has a white border around it. I want NO border. I have experimented with the Menu Appearance items in the "variables" section with no luck.
Lastly, I'm not sure where to put the link code. It's not clear in the documentation.
A: Please, set the following parameter:
var tXPBorderWidth = 0;
> Lastly, I'm not sure where to put the link code
I'm not sure I understand you. Link is the second parameter in the tmenuItems array.
["||about the AAUCM","http://www.614designs.com", , , , , , "3", , , , ],
More info you can find here;
http://deluxe-tree.com/menu-items-info.html
Q: How can I manage that the last clicked javascript expanding tree item stays tree highlighted?
A: We have the following API function to highlight the pressed item in Deluxe Tree
function dtreet_ext_setPressedItem (menuInd, itemID)
But unfortunately this function doesn't work for AJAX submenus.
We'll try to add this feature soon (using save state feature).
Q: I have the menu working perfectly on the main page of the website,but when I try to install menu javascripts onto html files that appear in subfolders of the site, the images do not appear.
A: You can use additional parameters to make menu paths absolute:
var pathPrefix_img = "http://domain.com/images/";
var pathPrefix_link = "http://domain.com/pages/";
These parameters allow to make images and links paths absolute.
For example:
var pathPrefix_img = "http://domain.com/images/";
var pathPrefix_link = "http://domain.com/pages/";
var menuItems = [
["text", "index.html", "icon1.gif", "icon2.gif"],
];
So, link path will be look so:
http://domain.com/pages/index.html
Images paths will be look so:
http://domain.com/images/icon1.gif
http://domain.com/images/icon2.gif
Please, try to use these parameters.