Recent Questions
Q: The problem I am having is specfically on the home page. The Navigation dhtml horizontal menu is at the top of the page. There are also Flash documents on this page only. When you go to the dhtml horizontal menu and select and option that has Sub-Items and position your mouse over those items, when the menu expands to show all of the text, it is cut off on theright side, this only occurres when there is a flash document behind the menu. All of the other pages work fine.
Do you have any idea why this occurrs? I have tried several things to fix this, but no luck. Is there a fix for this?
A: Try to set exact width for your sub menus. You can do it usingIndividual Submenu style:
var menuStylesNames=["Top Menu","width1","width2",];
var menuStyles = [
["menuBackColor=transparent","menuBorderWidth=0","itemSpacing=0","itemPadding=5px 6px 5px 6px"],
["smWidth=100px"],
["smWidth=210px"],
];
["|Modifieds ","mods.html", "", "", "", "_parent", "", "1", "", "", "", ],
["|Amateur Winter Race Bonnanza","http://triovalspeedway.vflyer.com/1/index.html", "", "", "", "", "", "2", "", "", "", ],
Q: I'm having an issue with horizontal alignment of Deluxe Menu.
The alighment is off to the right in Firefox... How can I correct the alignment of Deluxe Menu in FireFox?
A: Please, see dropdown menu parameters. They contains:
var menuWidth="0";
Please, set exact value for this parameter, for example:
var menuWidth="400px";
It's necessary to specify exact value for Mozilla browsers.
It helps to position Deluxe menu correctly.
Q: I would like the button in the sub navigation bar to stay white when you navigate to a particular page..
A: Try to do the following things:
- delete var pressedItem=1; parameter from your data file
- set correct parameter on each page before you call data file, forexample:
<noscript><a href="http://deluxe-menu.com">Javascript Menu by Deluxe-Menu.com</a></noscript>
<script type="text/javascript"> var dmWorkPath = "menudir/";</script>
<script type="text/javascript" src="menudir/dmenu.js"></script>
<script type="text/javascript"> var pressedItem=3;</script>
...
<script type="text/javascript" src="menudir/data.js"></script>
You can also set a pressed item using Javascript API:
function dm_ext_setPressedItem (menuInd, submenuInd, itemInd, recursion)
Sets a current pressed item.
menuInd - index of a menu on a page, >= 0.
submenuInd - index of a submenu, >= 0.
itemInd - index of an item, >=0.
recursion = true/false - highlight parent items.
But notice, to use dm_ext_setPressedItem() you should know ID of selected item and subitem.
You can't get this ID after you reload your page. That is why you should write your own code on PHP.
Q: Maybe have some code that would tell the tree menu html to expand on that particular page?
A: On your pages you should call the following function/functions to expand/highlight items,
for example:
<script>
dtreet_ext_expandItem (dtreet_ext_getItemIDByIndex (0, 0), 1);
dtreet_ext_setPressedItem (0, dtreet_ext_getItemIDByIndex (0, 1));
</script>