Recent Questions
Q: Is there a javascript API for the expandable menu tree to fire an user click event so the browser will load proper page accordingly? I looked around the current APIs from your site and could not find one.
Please advise.
A: You can use dtreet_ext_userClick (itemID) function.
See more info:
http://deluxe-tree.com/functions-info.html
Actually you can use your own Javascript code instead standard links and html code inside item text. For example:
var tmenuItems = [
["text", "javascript:your_code_here"]
];
or
var tmenuitems = [
["<div onClick='urlSubstitution(\'transco/sheet.asp?stype=1\')'>Table of Contents</div>", ""]
];
Q: Ich habe ein Problem mit submenus. Es erscheint, dass es eine Grenze auf der Breite eines submenu Punkt undals ein concequence gibt, wenn Sie den Punkt herumdrehen, zwingt es den Kasten, nach rechts zu rollen. Gibt eseine Kappe auf der Breite von submenu Punkten? Ich kann nicht scheinen, diese Ausgabe aufzuheben.
Es geschieht, wenn ich sowohl CSS als auch die Standardaufstellung auf dem Menü benutze.
A: Sie sollen die Folgenden Parameter setzen:
var smWidth="";
var smSmartScroll=1;
>Kehren Sie zu Neuen Fragen zurückQ: After I create that submenu I want to move those items up or down within that submenu in the javascript editor.
A: Do you want to move your subitems within Deluxe Tuner?
To move items select items you want and use a mouse drag'n'drop method.
To copy items select those you want and use a mouse drag'n'drop method holding a Ctrl key.
Also you can use a contextual menu - a right mouse click on the list of items.
Q: I've added a tab menu to a site but I want to know
how to get the active tab to stay a certain color in the html tabs menu
when you're on that tabs page.
A: Deluxe Tabs doesn't support API functions which can return theselected tab.
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=<?php echo $seltabs; ?>;
var bselectedSmItem=<?php echo $selsmtabs; ?>;
</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, forexample:
<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>