Recent Questions Html Tree Horizontal Expand
Q: I'm trying to shrink the vertical size of the sub-menu entries in my menu:
I think I've specified all the parameters correctly in data.js, but itТs hard to tell what affects the height of the submenu entries. Even reducing the type from 10pt to 8pt didnТt shrink them at all.
A: See, you set the following parameter:
var itemPadding = 7;
That is why you have such a big padding around the items.
If you don't want to change the appearance of the main items youshould create Individual Style for the subitems. For example:
var menuStyles = [
["itemPadding=2px"],
];
And assign this style for the first item in submenu.
Q: The menu is the table imbedded to the layer.
If you want to center the menu paste itwithin the <div>> or <table> with a static position and specify a center alignment for it, for example:
<div align=center>
<script src="data.js"></script>
</div>
Please, set exact value for var menuWidth parameter, for example:
var menuWidth = "500px";
This can help to align your menu correctly in all browsers.
Try also to specify units in "px".
Set also:
var absolutePos = 0;
If you want to use absolute position for the menu, use varabsolutePos=1 instead of absolute position for div.
Q: Is there a way to have multiple drop down menus on the same web page? What I mean by that is I have a banner with drop downs (horizontal on page) that I want to use possibly with an include statement and when you click on one of the links from the drop down it would take you to a page that is say a department for example. But on this "department page" it would have another list of drop down menues in a different location in a vertical list. This gets tricky with a second set of script running to define the banner and a second set of drop down menues running vertical in a different location.
A: You can use as many different drop down menus on your site or your page as you want.
See more info about installation of several menus on the single pagehere:
http://deluxe-menu.com/installation-info.html
Q: I am working with tabs. Can you tell me why I would be receiving the following menu javascript error:
‘tabs[...].id’ is null or not an object
A: Try to set the following menu javascript parameter:
var bselectedSmItem=0;