Recent Questions
Q: How can I set the padding for the dhtml horizontal menu text at the top? I want more padding on the left of the text but I don't want it centered.
A: You can set bigger left padding for your Submenu Style, for example:
var menuStyles = [
["menuBackColor=transparent","menuBorderWidth=0","itemSpacing=1","itemPadding=0px 5px 0px 25px"],
];
itemPadding=0px 5px 0px 25px
top right bottom left
Q: We have a menu in its own dedicated table row on our website and the table row contains a background image. We want to know if we can make the background on your menu transparent so that you can see our table cell background through the menu.
We have tried using your option to put our image as your menu’s background, but then it repeats for all of the drop downs which we do not want.
We simply want the row of options to be transparent and all of the drop downs to be white.
Is this possible with your system and, if so, how would we go about making this work?
A: You can try to use these parameters:
var menuBackColor="transparent";
var itemBackColor=["transparent","#1665CB"];
Or, you can use Individual Item Styles and set images only for the main items.
Try that.
Q: How can I have two floating menu under each other using the float option so that do not collide with each other?
A: You can try to adjust the following parameters to the one menu:
var floatableDX=15;
var floatableDY=15;
Q: Is there maybe a way that I can set up the menu so that it does not load at all until someone clicks on, say, a link, such as 'Products' and clicking on that link would then load the java menu buttons onto the page in the desired position?
A: Yes, you can do it.
Delete dm_init(); function from data file and use OnClick event foryour 'Products' link.
<a href="products.html" OnClick="dm_init();">Products</a>