Recent Questions
Q: How can I setup Font Size, color for individual level, button? How?
A: You should use Individual Item Styles.
var itemStyles = [
["itemBackColor=#B6E025,#769315","fontStyle=bold 10px Bookman Old Style"], //style 0
];
menuItems = [
...
["Product Info","", "default.files/icon1.gif", "default.files/icon1o.gif", , , , , , ],
["|Features","testlink.html", "default.files/icon2.gif", "default.files/icon2o.gif", , , "0", , , ], //style 0
["|Installation","", "default.files/icon2.gif", "default.files/icon2o.gif", , , "0", , , ], //style 0
...
];
Q: 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: I just download your Trial version, I was able to edit the Data.js for my menu, but I never foundhow to use th Mac HTML (GUI) Deluxe Tuner (to change Style for example...)
A: You can edit Individual Styles on MAC too.
You should click "Individual styles..." button and edit your style inthe appeared window.
Than you should assign individual style for the item.
Q: I have tried changing every menu variable I can see to make the actual iconbackground a different color than the menu items background with no success.Is this possible?
I would like the icon background to change with the alternating colors byrow .. and I know how to do this. but when I do it .. all the menus andsubmenus also change and I would like their background to stay white.
A: Yes, it's possible.
You should use an individual style for icon item, please see
deluxe-menu.com/individual-styles-sample.html
deluxe-menu.com/individual-submenu-styles-info.html