Ashish , this is not right solution! I asked about text in the header of accordion in different color! i.e. I need for example blue "Hello" and green "World" in the first header and for example black "Hello" and yellow "Bla-bla-bla" and so on.
Best regards Stanislav -----Original Message----- From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Ashish Goyal Sent: Friday, August 05, 2005 8:27 PM To: [email protected] Subject: RE: [flexcoders] Accordeon header, text in different color This has been discussed some days ago, search the previous posts. Anyways, it's a very simple solution. Call a function in the change event of the accordion and add the below code to that function. var lastSelected function selectedPane() { lastSelected.setStyle("color", 0x000000); var header = accordion1.getHeaderAt(accordion1.selectedIndex); // accordion1 is the id of the accordion lastSelected = header; header.setStyle("color", 0xFF0000) } Thanks -Ashish > -----Original Message----- > From: [email protected] > [mailto:[EMAIL PROTECTED] On Behalf Of Stanislav Zayarsky > Sent: Friday, August 05, 2005 8:29 AM > To: [email protected] > Subject: [flexcoders] Accordeon header, text in different color > > Hello Everybody, > > Goal: I need to have text in accordeon header in different color. > Maybe htmlText field in that header. > > As far as I know we have Button in the accordeon header, so my > assumption is to extend button class and use it in extended > accordeonHeader class. > > Maybe someone can suggest better solution? > > Best regards > Stanislav Zayarsky > > > ------------------------ Yahoo! Groups Sponsor > --------------------~--> > <font face=arial size=-1><a > href="http://us.ard.yahoo.com/SIG=12hs4mknp/M=362335.6886445.7 > 839731.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1123263230 > /A=2894361/R=0/SIG=13jmebhbo/*http://www.networkforgood.org/to > pics/education/digitaldivide/?source=YAHOO&cmpgn=GRP&RTP=http: > //groups.yahoo.com/">In low income neighborhoods, 84% do not > own computers. At Network for Good, help bridge the Digital > Divide!</a>.</font> > -------------------------------------------------------------- > ------~-> > > -- > Flexcoders Mailing List > FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt > Search Archives: > http://www.mail-archive.com/flexcoders%40yahoogroups.com > Yahoo! Groups Links > > > > > > > -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links ------------------------ Yahoo! Groups Sponsor --------------------~--> <font face=arial size=-1><a href="http://us.ard.yahoo.com/SIG=12hvf44oa/M=362335.6886445.7839731.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1123580207/A=2894361/R=0/SIG=13jmebhbo/*http://www.networkforgood.org/topics/education/digitaldivide/?source=YAHOO&cmpgn=GRP&RTP=http://groups.yahoo.com/">In low income neighborhoods, 84% do not own computers. At Network for Good, help bridge the Digital Divide!</a>.</font> --------------------------------------------------------------------~-> -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/

