Hi Adrien,

This is an often requested feature. My thought is that you'd start in
the code that moves the timeline--add logic to NOT move the timeline
once the min or max displayed dates have been reached (depending on
the direction of the scroll). You'd also have to handle the special
case where the timeline from 1900-1940 (using your example) would NOT
fill the screen--in that case, the timeline would show, for example,
1900-1975. Or you could do something tricky where you'd show a neutral
grey (or something) beyond the 1900 and 1940 end points.

Thanks for your time on adding to the project!

Regards,

Larry

On Oct 1, 10:57 am, "Adrien Di Mascio" <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> I'd like to know if it's possible to control, for a given band, the
> start date and the stop date.
> For instance, I'd like to be able to do something like :
>
>   Timeline.createBandInfo({
>         eventSource:    mySource,
>         width:          "20%",
>         startDate:           new Date(1900, 1, 1),
>         stopDate:           new Date(1940, 1, 1)
>       }),
>
> and then have my band spanning from 1900 to 1940.
>
> I could not find any information in the FAQ and a quick look at the
> code lets me think
> that it's not that obvious.
>
> Besides, the wiki
> (http://code.google.com/p/simile-widgets/wiki/Timeline_Ideas) suggests
> an interesting idea that would suit my needs :
>
> """
> Ability to easily create a band with a view width that shows the
> entire lifespan from the earliest
> event the latest. It wouldn't scroll, but clicking it would center the
> other bands on that date.
> It would not necessarily need labels or an interval unit, just markers
> for all the events.
> It would show all the events at the same time, with the layout,
> amount, and distribution of
> events in a single band.
> """
>
> I'm willing to try to implement this during my spare time in the next
> weeks. Any idea
> on where I should start ?
>
> Cheers,
> Adrien.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to