Did you remember to sync the bands before constructing the timeline?
bandInfos[1].syncWith = 0;
bandInfos[2].syncWith = 0;
tl = Timeline.create(....);
--Mike
On Jul 26, 2011, at 4:39 PM, Joe wrote:
> Hello everyone,
> I just started working with the SIMILE Widget and I wanted to create a
> timeline with multiple "month bands" one for each region. In
> addition, the year would sync all the sliding functions.
>
> Each region would be a different color to differentiate it.
>
> So you would have something like the below code, which displays, but
> does not slide together when I slide the year band.
>
> Any ideas???
>
> Thanks
>
> -Joe
>
> var bandInfos = [
> Timeline.createBandInfo({
> eventSource: eventSource,
> date: "Jun 28 2006 00:00:00 GMT",
> width: "100px",
> intervalUnit: Timeline.DateTime.MONTH,
> intervalPixels: 100
> }),
> Timeline.createBandInfo({
> eventSource: eventSource,
> date: "Jun 28 2006 00:00:00 GMT",
> width: "100px",
> intervalUnit: Timeline.DateTime.MONTH,
> intervalPixels: 100
> }),
> Timeline.createBandInfo({
> eventSource: eventSource,
> date: "Jun 28 2006 00:00:00 GMT",
> width: "100px",
> intervalUnit: Timeline.DateTime.YEAR,
> intervalPixels: 200
> })
> ];
--
You received this message because you are subscribed to the Google Groups
"SIMILE Widgets" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/simile-widgets?hl=en.