Hi Dave,

Re:
> Is there a way to pass a parameter to tell a timeline to center itself
> on the most recent event without having to know what that date might
> be?

Not currently. But the javascript to do so wouldn't be too hard. You'd
need to scan the events to find the most recent one, then call
band_object.setCenterVisibleDate(date) to move the timeline.
See 
http://code.google.com/p/simile-widgets/wiki/Timeline_Moving_the_Timeline_via_Javascript

Even better and faster would be to have your server side software
figure out the time of the latest event in the event file, then
dynamically write the javascript to move the Timeline.

-- As I've been planning my Timeline app, I've realized that there are
a number of design issues where the right idea is to calculate
something once on the server, then store the information and make it
available with either the html file or the Timeline datafile to the
Timeline page. Calculations on the server can be done once per set of
event data rather than once per download/display of the event data.

Regards,

Larry


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to