What do you mean by "dynamically change"?
If you mean simply loading different datasets at initialization time, then it 
is a simple call to loadXML (or loadJSON):
 tl.loadXML("examples/jfk/jfk.xml", function(xml, url) { 
eventSource.loadXML(xml, url); });
You just specify the path to the desired data file: "examples/jfk/jfk.xml"
This could be a path to some service on your server that returns dynamically 
generated data, such as "incidentReports.xml?date=2011-05-16"
You can also load your timeline data after the page has been loaded and the 
timeline drawn. You might have links on your page to let the user fetch 
different datasets.
Is this what you are referring to?

--Mike Nosal


On May 14, 2011, at 9:36 PM, espressoguy wrote:

> I'm new to timeline...
> 
> ....I can see in the jfk example that is provided with the
> distribution of timeline that it's possible to dynamically change the
> events displayed.  But I don't see any documentation explaining how
> this works.  I'm sure it's done with AJAX but I don't see an
> explanation of how to do it.
> 
>   Can someone tell me where I can find an explanation?
> 
> Thanks...
> 
> -- 
> 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.
> 

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