From: Jonathan P. <Jon...@ch...> - 2003-08-07 14:39:58
|
I have been working with the menu bar code and am wondering how you = change the text color of a menu bar item. I've added a css attribute at = the end of the syntax named "menuBarText" which is :=20 .menuBarText { FONT-SIZE: 10pt; COLOR: white; FONT-FAMILY: Arial } mbar.addItem("menuBarText",'Test = Item','test','goTo("test.htm")',20,0,"blue","green","menuBarText"); However, the color of the font does not change. The size changes with = the stylesheet, but the color remains the same. Is there some way to = pass a stylesheet reference to the menu bar for the entire bar and all = its subitems? How do you control the color? > -----Original Message----- > From: Leif W [mailto:war...@us...] > Sent: Wednesday, August 06, 2003 4:18 PM > To: dyn...@li... > Subject: Re: [Dynapi-Help] menu bar examples >=20 >=20 > menu bar examplesHello, >=20 > Can you tell us which version of the DynAPI you're using, and=20 > which browser > you're using? You might want to try the nightly CVS snapshot=20 > of the DynAPI > ( http://dynapi.sourceforge.net/snapshot/?N=3DD ). Also, which=20 > example page > isn't working. What are you trying to do (give us a URL to a=20 > page or attach > the HTML you're using). >=20 > Leif >=20 > ----- Original Message -----=20 > From: Jonathan Patton > To: dyn...@li... > Sent: Wednesday, August 06, 2003 10:09 AM > Subject: [Dynapi-Help] menu bar examples >=20 >=20 > I'm looking for some examples of a horizontal drop down menu=20 > bar using the > dynapi. Do you all know of any good ones. I tried the=20 > example on the site, > but it did not work. > Jonathan >=20 >=20 >=20 >=20 > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > Data Reports, E-commerce, Portals, and Forums are available now. > Download today and enter to win an XBOX or Visual Studio .NET. > http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet > _072303_01/01 > _______________________________________________ > Dynapi-Help mailing list > Dyn...@li... > https://lists.sourceforge.net/lists/listinfo/dynapi-help >=20 |