Hey David,

Thanks for your reply. However I do not have much code at this time, since I
can't find a way to do what I explained. I just want to create a
SpanHighlight áfter I initialized the Timeline. This is what I'd like to
see:

- Timeline is created
- User scrolls to another date
- An addOnScrollListener gets the date that is currently selected.
- A spanhighlight is created on that date by the onscrolllistener.

So if the timeline is selected on 11 pm on 11/01/2008, the whole day
11/01/2008 has to get a spanhighlight in it.
I can't seem to find any useful documentation on this matter.

Could you please provide me with some usefull information?

Thanks in advance, Hendrik

On Dec 21, 2007 5:59 PM, David Huynh <[EMAIL PROTECTED]> wrote:

> Hi Hendrik,
>
> Could you provide URL or code snippets? It's hard to debug without
> seeing what exactly you have tried.
>
> David
>
>
> Hendrik Nijmeijer wrote:
> > Hello,
> >
> > I was wondering if it is possible to create a SpanHighlightDecorator
> > after the timeline is initiated. I've tried to point to the existing
> > timeline by calling getBand(0), but the constructor for
> > SpanHighlightDecorator didnt work.
> >
> > In short I want to add a SpanHighlightDecorator after the timeline has
> > been initiated, and when the user selects a day in a calendar the
> > timeline scrolls to that single day (with
> > tl.getBand(0).scrollToCenter, that works) and highlights it. The span
> > has to be removed in order for the user to select another day later on.
> >
> > Can anybody help me make this work?
> >
> > Greetings and thanks in advance, Hendrik Nijmeijer.
> > ------------------------------------------------------------------------
> >
> > _______________________________________________
> > General mailing list
> > [email protected]
> > http://simile.mit.edu/mailman/listinfo/general
> >
>
> _______________________________________________
> General mailing list
> [email protected]
> http://simile.mit.edu/mailman/listinfo/general
>
_______________________________________________
General mailing list
[email protected]
http://simile.mit.edu/mailman/listinfo/general

Reply via email to