Hi,
See the dynapi.gui.htmlmenu-startmenu.html example for
how to change text colors.
--
Raymond Irving
--- Jonathan Patton
<[EMAIL PROTECTED]> wrote:
> 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 :
>
> .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:[EMAIL PROTECTED]
> > Sent: Wednesday, August 06, 2003 4:18 PM
> > To: [EMAIL PROTECTED]
> > Subject: Re: [Dynapi-Help] menu bar examples
> >
> >
> > menu bar examplesHello,
> >
> > Can you tell us which version of the DynAPI you're
> using, and
> > which browser
> > you're using? You might want to try the nightly
> CVS snapshot
> > of the DynAPI
> > ( http://dynapi.sourceforge.net/snapshot/?N=D ).
> Also, which
> > example page
> > isn't working. What are you trying to do (give us
> a URL to a
> > page or attach
> > the HTML you're using).
> >
> > Leif
> >
> > ----- Original Message -----
> > From: Jonathan Patton
> > To: [EMAIL PROTECTED]
> > Sent: Wednesday, August 06, 2003 10:09 AM
> > Subject: [Dynapi-Help] menu bar examples
> >
> >
> > I'm looking for some examples of a horizontal drop
> down menu
> > bar using the
> > dynapi. Do you all know of any good ones. I tried
> the
> > example on the site,
> > but it did not work.
> > Jonathan
> >
> >
> >
> >
> >
>
-------------------------------------------------------
> > 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
> > [EMAIL PROTECTED]
> >
>
https://lists.sourceforge.net/lists/listinfo/dynapi-help
> >
>
>
>
-------------------------------------------------------
> 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
> [EMAIL PROTECTED]
>
https://lists.sourceforge.net/lists/listinfo/dynapi-help
__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com
-------------------------------------------------------
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
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dynapi-help