Examples
Examples - Complex Styles
This page shows an example of complex styling.
Firefox Bugs
Bugs in Firefox and Mozilla sometimes affect WebDDM, when alternate item content is set. Sometimes menus fail to open because of this. There is no workaround. We have submitted a bug report to Mozilla and hopefully they will fix this soon.
There, however, a simple way to avoid this - don't set item content for certain styles if the "expand_menu" attribute is set to "click".
Affected styles: "content_rollover_pressed", "content_menuopen_pressed".
Note: This bug seems to be fixed in Firefox 1.0.
Examples - Complex Styles
These attributes can be used to completely customize styles:
Note that "rollover" attributes take no effect if the submenu opens when the mouse moves over the item and "menuopen" attributes are set. (think about it for a seconC: it only makes sense)
To fully show the effect of these attributes on this page, the "expand_menu" attribute has been set to "click". Read more about this here.

It is very simple to create a button-like feel for items using the "pressed" styles. Experiment with, for example, changing the borders of items with the pressed styles.
Fallback styles
This was a tough feature to implement, but it's also VERY important, and it takes the guess-work out of styling menus.
Here's how it works. When a certain style is NOT SET, WebDDM will try to "fall back" to a different style. For example, if "css_menuopen_pressed" is not set, WebDDM will fall back to "css_menuopen". Here is a list of styles and their fallback styles.
View Source
View CSS file - View JavaScript file.
Examples
Examples: Last - Next