Recent Questions
Q: I need current page highlighted on javascripts tab menu.
what I do the change on data.js file.
A: Deluxe Tabs doesn't support API functions which can return theselected tab aslo.
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> Q: I'm looking at purchasing your product but have one small problem. I'm using the expandable menu and would like to have the menu save the state when reloading or refreshing the browser.
Can this be done with the expandable menu? If so, what is the syntax?
A: I advise you to use Deluxe Tree, http://deluxe-tree.com/. This is a newer version of Dhtml TreeMenu.
You should use the following parameter:
var tsaveState = 1;
Example, you can find here:
http://deluxe-tree.com/data-samples/tree-menuxp-save-state.html
Q: I haven’t had any problems using the drop line menu, until now when I had to make some changes. After adding some sub-menu items on two of the drop line menu buttons, those menu’s drop down upwards, instead of downwards like the rest. I tried deleting them and remaking them, but then the menu appeared to have no image behind it, only a colour. So I duplicated a working menu item, and then modified it to be what I wanted – and it still drop down upwards!
A: Please check the following drop line menu parameter:
var subMenuVAlign="top";
Q: With: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
The content of my tabs menu doesn't show in IE.
A: Delete "height: 0%;" parameter from the style of the content DIV:
<DIV class=tabPage id=content4 style="VISIBILITY: hidden;">