Recent Questions Javascript Tree Extensible
Q: When I click between tabs, only one tab remains in its active state for a dhtml tab navigation.
Why isn't the tab changing to look "active" to reflect the page that it's on?
Please let me know where this setting is.
A: Deluxe Tabs doesn't support API functions which can return theselected tab.
You can set "bselectedItem" and " var bselectedSmItem" parametersbased on your link before you call your data file.
For example, move " var bselectedItem" and " var bselectedSmItem" parametersfrom 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>
Try that.
Q: One more doubt, How can I mention the Text font style like BOLD, Italic..... in javascript pop up menu?
A: You can set your font size in Deluxe Tuner.
//--- Font
var fontStyle="bold 11px Arial";
var fontColor=["#000000","#FFFFFF"];
Q: Now I am coming across one more problem...
The alignment of the menu is off.
Where I can download previous versions of the menu?
A: I suppose that you're saying about submenu position.
Please, check the following parameters
var topDX=0;
var DX=0;
You can download trial package from the following links:
v1.12
http://deluxe-menu.com/deluxe-menu112setup.exe
v1.14
http://deluxe-menu.com/deluxe-menu114setup.exe
v1.71
http://deluxe-menu.com/deluxe-menu171setup.exe
Q: We have been using a free javascript for a couple of years but now we would like to have a functionality that our existing js is missing.
Basically, we need the ordinary tree view javascript with "+" and "-" that highlights the node clicked. No problem with that I suppose... BUT, we have a bunch of pages with internal links, linking the visitor to other pages within the site (i.e. they don't have to use the leftside tree navigation). What I want is that the navigation js recognizes that a page loads without any node has been clicked, and automagically expands the nav tree and highlights the node for that page.
No AJAX, no XML, no php or asp, just plain HTML + JS is a requirement from our customers.
Is that possible with any of your products...?
A: Yes it is possible with Javascript/DHTML Tree.
Find more info here:
http://deluxe-tree.com/highlight-selected-menu-item-sample.html