On 11/15/05, Aldo Bucchi <[EMAIL PROTECTED]> wrote:
> Changing the style of any individual day sounds like a reasonable
> feature request.
> But then the problem would be the means to specify the style... given
> that there are an infinite number of days...
>
> I can't think of an elegant way of doing it. But then again, I haven't
> had any coffee so far today. Anyone?
Exactly.
Maybe you should be able to "tag" dates.
function tagDates(tagName:String, dates:Arrray):Void
Then you can specify style declarations for the given tag:
function setTagStyleName(tagName:String, styleName:CSSStyleDeclaration):Void
Usage:
tagDates("doctor_appoinments", [new Date(2005, 10, 25), new
Date(2005, 10, 28)]);
setTagStyleName("doctor_appoinments",
StyleManager.getStyleDeclaration("DoctorAppointmentsStyle"));
// CSS
DoctorAppointmentsStyle {
font-weight: bold;
}
I'd try to implement this by subclassing DateChooser if I had the time.
Manish
------------------------ Yahoo! Groups Sponsor --------------------~-->
Fair play? Video games influencing politics. Click and talk back!
http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/nhFolB/TM
--------------------------------------------------------------------~->
--
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/