Recent Questions Ajax Tree Menu TutorialQ: I'm having difficulty understanding how to set up css drop down menus. The differences between menuStyles, itemStyles, CSS and CSSText is very unclear, and doesn't seem to be well documented.
Do you have any better documentation or writeup on using this feature?
A: No, unfortunately we don't have additional documentation. You can findall info on our site.
We have several examples of the menus using css.
You should set var cssStyle=1; parameter and then assign your stylesto the items.
var cssSubmenu is a CSS class name for all submenus. You can set, forexample, background color, background image, borders for all submenus.
var cssItem is CSS class names for all items (normal state, mouseoverstate) in the top menu and submenus.
var cssItemText is CSS class names for text of all items (normalstate, mouseover state) in the top menu and submenus.
It's possible to appoint individual CSS styles for separate elements of the menu using individual item styles and individual submenu styles.
Q: In deluxe tuner, on a horizontal dropdown menu, how I make sure long menu items can wrap into 2 lines? Losing my mind trying to figure this out.
Instead of.. International Music X Home Decoration X Books..... I want to to do:
International X Home X Books
A: You should set the following parameter:
Or use standard <br> tags inside item's text:
["International Music X Home<br>Decoration X Books","", "", "", "", "", "0", "0", "", "", "", ],
Q: The spacing between each item of the top horizontal dropdown menu is uneven but I don't know why.
If you highlight them all it becomes more obvious.
It is almost as if the space after a 2 word link is twice the space after a one word link or else the total space after each link is related to the number of letters in the link.
For example the space after 'Discounts' is greater than the space after 'Home' but the space after 'Envelope Printing' is even greater.
A: You can try to set the following horizontal dropdown menu parameters:
var itemPadding="0px 10px 0px 10px";
Q: Could you please help me with another question?
I am using your regular dhtml menu inside an asp page.
I have now been trying to do this by using the alert() java metod....
This line works perfect:
But if I try to write the same line within ASP brachets ( <% %> ) the menu does not show up:
the menu will show up and the script will work but since I can not insert any parameter it is pointless..
How can I achieve this?
I really hope you can help me with this one!
A: Try to write your code in the following way: