Are there any plans to implement a zooming In/Out capability?  This 
would be very useful to me as I expect my users to start at a very large 
scope of a timeline, find what they're interested in, and then zoom down 
to view details.

BTW, this is a great app!  Some really nice work here.

best, and thanks,
  robin


Michael Nosal wrote:
> On Aug 13, 2007, at 4:23 AM, Naimesh (Hotmail) wrote:
>   
>> Hello !
>> I am new to timeline. Can anybody help me on :
>> 1) How to Pan left and Right feature to give on button click even  
>> on the buttons kept on the page where timeline is displayed.
>> 2) How to provide zoom In/Out feature to give on button click even  
>> on the buttons kept on the page where timeline is displayed.
>> Please help soon on above.
>> Thanks & Regards.
>> Naimesh Trivedi
>>     
>
> Panning is done by calling _autoScroll on a Band. Look at  
> Timeline._Band.prototype._onKeyUp. It binds the page down and page up  
> keys to call _autoScroll. It takes a number of pixels +/- and scrolls  
> the band in that direction.
>
> For example, you may have a link or button to pan your timeline:
>
> <input type="button" onclick="tl.getBand(0)._autoScroll(tl.getBand 
> (0)._timeline.getPixelLength())" value="Backwards">
> This pans the timeline a fixed number of pixels.
>
> You may also call scrollToCenter on a Band. This takes a Date as its  
> parameter and will smoothly scroll the timeline to that date. This  
> allows you to scroll in exact time increments (such as +/- one month)  
> rather than by pixels.
>
> onclick='tl.getBand(0).scrollToCenter(new Date("9/13/2007"))' would  
> scroll the timeline to center on that date.
>
> Timeline doesn't currently support zooming In/Out.
>
> --Mike Nosal
>
>
>
>
> _______________________________________________
> 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