Hi Joseph, See http://code.google.com/p/simile-widgets/wiki/Timeline_Moving_the_Timeline_via_Javascript esp setMinVisibleDate
-- If what you mean by "starting" is that you want the left visible edge to be the current date. If you want the Timeline to not be visible before today's date, see the Timeline start/stop theme parameters. Larry ________________________________ From: Joseph Marlin <[email protected]> To: SIMILE Widgets <[email protected]> Sent: Friday, April 3, 2009 11:12:28 AM Subject: How to get the timeline to start at current time. I had heretofore been centering the timeline at the current time as follows. var d = new Date(); var t = d.getTime(); t += d.getTimezoneOffset()*-60000; d.setTime(t); tl.getBand(0).setCenterVisibleDate(d); However, I think I would really actually just like the timeline to display itself *starting* at the current time instead of centering there. I considered trying to get it to center itself at a time such that the current time would appear to be at the start, e.g. getTime() + x days or something. However, I can't help but think that there would be an easier way to do it? Thanks so much, Joseph --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
