Great, thanks! Btw, would it be possible to have a "smooth" movement from the current date to the new date? Just like what happens when you double click one timeline location?
Thanks again, Sérgio Nunes On 4/27/07, V. Alex Brennen <[EMAIL PROTECTED]> wrote: > Yes, there is an easy way to do this. > > Set a javascript var to the date you want to be able to go to, then add > an html javascript hyperlink that calls the centerTimeline() function > with that var. > > For example: > > <script type="text/javascript"> > var Spirit = "November 17 1998 00:00:00 GMT"; > </script> > > Quick Go to: [<a href="javascript:centerTimeline(Spirit)">Spirit</a>] > > (Your timeline) > > Here is a full working example with all the source: > > http://cryptnet.net/people/vab/influences/jewel/jewel_kilcher_timeline/ > > > - VAB > > On Fri, 2007-04-27 at 10:11 -0500, Alex M wrote: > > Good one... right now what I do is just reload the timeline with a > > different starting date, it would be nice to be able to easily switch > > to another date without having to do this. > > > > On Apr 27, 2007, at 9:07 AM, Sérgio Nunes wrote: > > > > > Hi, > > > > > > I've using Timeline to integrate web search results and would like to > > > know if there is a standard way to move to a specific event without > > > having to change the XML data file ? For instance, I would like to > > > have a link "go to oldest event" in my HTML that slided (smoothly) the > > > timeline to that event. > > > > > > I've tried doing something like: > > > > > > onMouseDown="tl.getBand(1).setCenterVisibleDate("1 Jan 2001"); > > > tl.layout(); tl.paint();" > > > > > > But without success. Any help would be greatly appreciated. > > > > > > You've produced a great tool. Thank you very much for sharing! > > > > > > Regards, > > > Sérgio Nunes > > > > > > _______________________________________________ > > > 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 > > > _______________________________________________ General mailing list [email protected] http://simile.mit.edu/mailman/listinfo/general
