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