I am wondering if anyone has tried to apply CSS formatting (as demonstrated here - http://www.kirupa.com/developer/mx2004/css.htm) to Senocular’s XML driven menu ([url=“http://www.kirupa.com/developer/actionscript/xml_dropdown_menu.htm”]http://www.kirupa.com/developer/actionscript/xml_dropdown_menu.htm).
I’m just not getting anywhere with this.
My situation is this:
I need to create a menu that contains headings as well as the actual linked items. For example -
What We Do
Types of Projects
Types of Delivery
How We Do It
I do not need the submenu flyouts so I’ve created an XML list with every item on the same level.
I would now like to apply a CSS stylesheet to the menu so that the items beneath a heading such as “What We Do” can be given an indent and a different color from the heading itself. Also, it would make sense to eliminate the rollover effect (that Senocular’s code creates for each button instance) for the heading buttons (only the subcategories display content). That part has me baffled.
The only other way I can think of approaching this would be to build menu items from 2 (or more) different background clips (with textfields in different positions) - chosen depending on some new tag/attribute in the XML file.
Thanks for your help!