Recent Questions
Q: I need to load a tab page and have the correct javascript menu rollover tab showing based on a variable that is available when the page loads. How do I get the tab to change to a different tab then the one defined in the configuration file?
Example
bmenuItem = 0; /* this is the default */
When my page reloads I want bmenuItem = someVariable;
How do I do this?
A: Deluxe Tabs doesn't support API functions which can return theselected javascript menu rollover 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>
Q: I have built a menu with deluxe menu and I have put everything in the same map but the page doesn't display the drop down menu it says there is an error. Could you look what I do wrong?
A: It is not correctly to write local paths on your website. They won'twork:
<script type="text/javascript" src="file:///C:/Test%20website%202008/x5/data.js"></script></td>
You should upload your data.js file in the same folder with yourdmenu.js file and write:
<script type="text/javascript" src="data.files/data.js"></script></td>
Q: I use Deluxe-Menu on my website and the nag message "Incorrect Copyright" appears in MS-Explorer V6 (not in Firefox though). How can I fix that?
A: Now you have:
<noscript>
<a href=http://deluxe-menu.com/><br><p>Javascript Menu by Deluxe-Menu.com</a></noscript>
You should write NOSCRIPT tag in the single line:
<noscript><a href=http://deluxe-menu.com/><p>Javascript Menu by Deluxe-Menu.com</a></p></noscript>
Q: We had a strange problem with the menus when the sub menus are over applet in https: the applet disappeared.
After doing some Investigation in your code we noticed that you are using in HTTPS mode div instead of Iframe.
We would be happy if you can tell us why you are using div in this mode and if we will use http mode will it cause something that can affect the menus
A: Iframes don't work on https:// websites. You'll get warning message. That's why we're using <div> tag.If for some reasons a submenu can't drop down over an object the latterwill be hidden for a time when the submenu is shown.
If you use Deluxe Menu on https:// website, submenus won't drop downover select boxes within iframe objects. It works fine on a non-secureservers only.