Hi Naimesh,
To scroll the timeline programmatically, use something like this:
tl.getBand(0).scrollToCenter(new Date(2007, 7, 14)); // center
August 14, 2007
Timeline doesn't support dynamic zooming right now. You will have to
reconstruct the whole timeline to simulate zooming. You can keep the
event sources and don't have to reconstruct them.
Cheers,
David
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
>
> [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
>
>
>
>
>
>
>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> General mailing list
> [email protected]
> http://simile.mit.edu/mailman/listinfo/general
>
_______________________________________________
General mailing list
[email protected]
http://simile.mit.edu/mailman/listinfo/general