Recent Questions Mvc Html TreeviewQ: I am trying the menu and facing one problem…
The text is too large and doesn't wrap around.. instead it makes the dhtml menu layers wider.
My dhtml menu layers needs to be 175 px only.. if there are to many characters in the link, I like it to wrap around to the next line…
A: You should set the following dhtml menu layers parameter:
You can also use standard <br> tags inside item's text:
["All Card <br>Envelopes","", "", "", "", "", "", "", "", "", "", ],
Q: Why is the submenu a different colour has a different colour than menu items - surely that's not an IE specific feature? The top-level menu items seem to be a different size too, so the layout in IE looks more even.
A: Submenus has a different color because they have a transparency:
Set it to 100.
Submenus also have larger width than top items because they containsmore text. If you want to wrap the text, use
tag between item words.
There is no way to enable these preferences automatically, in othercase there are no reasons to create security preferences.
You can generate search engine friendly code.
To create a search engine friendly menu you should add additional html code within your html page:
To generate such a code use Deluxe Tuner application.
You can find this GUI in the trial package.
Run Tuner, load your vertical drop menu and click Tools/Generate SE-friendly Code (F3).
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 = [
And assign this style for the first item in submenu.