Recent Questions Input Non Modifiable Avec Tafeltree
Q: I am getting stuck with trying to set a default tab in the div tab menu to be selected when a window opens...
What I've been trying to do is changing this line here :
var bselectedItem=0;
At 0 (default) it has the first tab selected. Any other number and notabs are selected.
Is there a setting somewhere else that I am missing?
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&tg;
Q: My Submenu is faded too quickly if I pull the mouse away from the java drop down menu.
A: You can try to use JavaScript Tree Menu - this is a newer version of DHTMLMenu. You can use the following parameters there:
var smShowPause=200;
var smHidePause=5000;
Q: I am interested in buying your XP Style Blue XP Style JavaScript Menu Tree.
Please let me know how can I use in offline projects (CD Based) and whether I can change the vertical type java pulldown menu into horizontal type.
Also let me know the price for the same
Looking forward for your fast reply
A: Javascript/DHTML Tree is vertical menu, http://deluxe-tree.com. You cannot create horizontal tree menu.
If you want to create horizontal menu you can use JavaScript Tree Menu,http://deluxe-menu.com
To use JavaScript Tree Menus on CD/DVD you should buy developerlicense.
JavaScript Tree Menu & Tree & Tabs & Popup Window & Calendar DeveloperLicense - $299.95.
Other licenses allow you to use the java pulldown menu on Internet/Intranetwebsites only.
Q: I have been evaluating your dhtml-tree product, for a potential use.
It does just about every thing I want apart from 1 thing:
I want each css dropdown menu item to (optionally) support the following syntax:
<a href="menu_link.html" onClick="return fnClickedLinked()">Menu Link</a>
I have worked out how to change the "menu_link.html", and also that it could be something like "javascript:fnClickedLinked()".
However I want the above syntax, where search engines can pick up the link and if my function returns false, the link is not followed when clicked.
Is this possible?
Or can I cancel the link navigation using the tree API node click event??
A: Actually you can add the html code inside item's text:
["|<a href="menu_link.html" onClick="return fnClickedLinked()">Menu Link</a>","", "", "", "", "Tip", "", "", "", "", ],
You can also try to use API function:
function dtreet_ext_userClick (itemID)
http://deluxe-tree.com/functions-info.html