Recent Questions
Q: I now have the need to introduce separators on the menu.
Can you tell me how to do that?
I cannot find any documentation telling me how this is done.
A: Please, see the following parameters:
//--- Separators
var separatorImage=""; //for subitems
var separatorWidth="5";
var separatorHeight="100%";
var separatorAlignment="right";
var separatorVImage="images/public/separator.gif"; //for the top items
var separatorVWidth="3";
var separatorVHeight="100%";
var separatorPadding="";
You should set a separator in the menuItems, for example:
var menuItems = [
["Home","index.cfm", , , , , , , , ],
["-"],
["About Us","about.cfm", , , , , , , , ],
];
Try that.
Q: I played with it and I got the tabs java script horizontal menu to work. but having problems with them:
1. I want the tabs to open when you mouse over them, not when you click. Is it possible to do this?
2. I want the tabs to close when your mouse leave them. Can I do this?
3. It keeps saying "Incorrect key" when you click on them. Is it possible to fix them?
A: No, unfortunately it is not possible in Deluxe Tabs.
But you can use Deluxe Menu to create such java script horizontal menu.
To create such menu you should set the following parameters:
var smOrientation=1; //horizontal orientation of submenus
var subMenuAlign="pleft"; //submenu position (left align)
var smHidePause=-1; //your submenus won't be hidden till you click orscroll the page.
"Incorrect Key" message means that you didn't paste your reg. key into data.js filewith your menu.
You should paste your key parameter into .js file where your java script horizontal menuparameters (vars) and items ( var bmenuItems) are placed.You should paste the following code at the beginning of the file:
/*
Deluxe Menu Data File
Created by Deluxe Tuner v3.2
http://deluxe-menu.com
*/
var key="XXXXXX";
// -- Deluxe Tuner Style Names
Where XXXXX the key from your license message.
Try to clear also browser cache.
Notice your key will work on registered domain only. It won't work onlocal machine.
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: I've been using your application for about 2 years but have never been able to insert a vertical divider in dhtml menu source.
A: You should set a separator in the menuItems, for example:
var menuItems = [
["Home","index.cfm", , , , , , , , ],
["-"],
["About Us","about.cfm", , , , , , , , ],
];
Please, see the following parameters:
//--- Separators
var separatorImage=""; //for subitems
var separatorWidth="100%";
var separatorHeight="3px";
var separatorAlignment="right";
var separatorVImage="images/public/separator.gif"; //for the top items
var separatorVWidth="100%";
var separatorVHeight="2px";
var separatorPadding="";