Recent Questions
Q: I downloaded the trial versionto try and it seems like it should do the horizontal sub menus, but not sure what parameter controls it. Can you help?? The effect I am looking for is this:
About Us Product Contact
Widget 1 Widget 2 Widget 3
Hope you can help!
A: You should use the following parameter:
var smViewType=0;
Q: How can I set the top-level items to be transparent for the dhtml dropdown?
A: You should create Individual Item and Submenu styles with transparent itemBackColor and assign it for the top items:
var itemStyles = [
["itemBackColor=transparent,transparent","itemBorderWidth=0","fontColor=#000000,#000000"],
];
var menuStyles = [
["menuBackColor=transparent","menuBorderWidth=0"],
];
More info you'll find here:
http://deluxe-menu.com/individual-item-styles-info.html
http://deluxe-menu.com/individual-submenu-styles-info.htmlQ: I have another question.. after I successfully click and load the data in to my window using the mouseover tab, the tab defaults back to the original default tab.
Because I have to reload my page after the tab has been selected the tab chosen is lost. What do you recommend for "remembering" the tab so that when the page reloads the correct tab is highlighted. I know that I need to set the var bselectedItem but if you have a "nifty" way for me to do that I am all ears.
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: Go to the "products", then to "Furnaces" or "Humidifiers". Seethe sub menu js items ending with "0"? See how they seem to be cut off on the very far right edge?
A: This is a feature of Firefox 3.0.3.
You'll have such effect if you'll use Trebuchet MS font andtransparency for submenus.
Try to use another font, or set
var transparency="100";