:-) Thanks for the great pointers and the good sense of humor On Mon, Jun 29, 2009 at 9:54 PM, David Huynh <[email protected]> wrote:
> > John Kroubalkian wrote: > > Can the simile timeline be used to present in reverse chronological > > order? > > > > Thanks > > > Yes, in theory ... you can see that the millions of years here run > backward: > > > http://www.simile-widgets.org/timeline/examples/dinosaurs/dinosaurs.html > > What you need to do is override various methods in the NativeDateUnit > class in this file > > http://api.simile-widgets.org/ajax/2.2.1/scripts/units.js > > In toNumber, return -v.getTime() > In fromNumber, return new Date(-n); > In compare, return n2 - n1 > In change, return new Date(v.getTime() - n) > > I think that should make your timeline runs in reverse. But if you > happen to disrupt the space/time continuum and open a worm hole to a > parallel universe, or discover anti-time, I'm not responsible ... > > David > > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
