Recent Questions
Q: Is it possible to not download (pre-load) the images in the javascript menu array (some attributes in the data.js file ..)?
I would like to download them only on rollover on the submenu... I am aware of the ajax version of the menu, but ....
A: Set the following parameter:
var dm_writeAll=0;
You can also use AJAX feature, see more info here:
http://deluxe-menu.com/ajax-technology-menu-sample.htmlQ: I found the problem with de Deluxe Menus:
When the menu is inside the <DIV> </DIV> tags, the menu is shown, but does not scroll.
A: See, you use absolute position for this <div>
<div STYLE="position:absolute;top:151px; left:0px">
But you can use absolute position for the menu. Your menu will scrollin this case.
For example, you should set:
var absolutePos=1;
var posX="0";
var posY="151px";
And install your menu
<div>
<script type="text/javascript" src="data.js"></script>
</div>
Or, write:
<noscript><a href="http://deluxe-menu.com">Javascript Menu by Deluxe-Menu.com</a></noscript>
<script type="text/javascript"> var dmWorkPath = "/";</script>
<script type="text/javascript" src="dmenu.js"></script>
<script type="text/javascript" src="data.js"></script>
Q: Question: How do you enable or configure settings so that on default a specific "Tab" is always set to on or shown as the preload tab, I have a eStore page where I would like to insure that a specific Tab is always shown on default and all others are hidden on the first revealing of the page? Can you help?
A: Use the following parameters to set the selected top and submenu items:
var bselectedItem = 0;
var bselectedSmItem = 0;
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 noticed another problem: when I set dmObjectsCheck=1 and I click on a menu-item of the dropdown menu nothing happens! No matter whether the banner is flash or not. And no matter if the browser is IE or Firefox. As soon as I set dmObjectsCheck=0 the submenu works again.
A: You should set the following parameter
var dmObjectsCheck=1;
You should also add dmenu_add.js file into the folder with yourdmenu.js file.
Please, check it.