Thanks. I tried this. Unfortunately, now all the days have the weekend color applied :/ I'll play around and see if I can figure out where the problem is.
thanx, sascha =) On Oct 6, 2007, at 6:52 AM, David Huynh wrote: > Sascha Linn wrote: >> I see that in a WEEK band saturday and sunday appear to look >> different. >> Yet in a DAY band they are treated like any other day. Is there a >> simple way to make saturday and sunday have a different background? >> > Sascha, > > There is no official support for that, but you could add some > Javascript > code that changes Timeline's behavior. Look in this file > > http://simile.mit.edu/timeline/api/scripts/ether-painters.js > > Find > > Timeline.EtherIntervalMarkerLayout = function(timeline, band, > theme, > align, showLine) { > ... > } > > near the bottom. Make a copy of that code and put it somewhere where > it's evaluated before you create your timeline. Then where it says > > if (unit == Timeline.DateTime.WEEK) { > > change the code to > > if (unit == Timeline.DateTime.WEEK || unit == > Timeline.DateTime.DAY) { > > Hope that helps, > > David > > _______________________________________________ > General mailing list > [email protected] > http://simile.mit.edu/mailman/listinfo/general > > _______________________________________________ General mailing list [email protected] http://simile.mit.edu/mailman/listinfo/general
