You can define separate data sources.
var eventSource1 = new Timeline.DefaultEventSource();
var eventSource2 = new Timeline.DefaultEventSource();
then when you define your bands, associate the eventsource
var bandInfos = [
Timeline.createBandInfo({
eventSource: eventSource1,
...
}),
Timeline.createBandInfo({
eventSource: eventSource2,
then you load the data separately
Timeline.loadXML("local_data1.xml", function(xml, url) {
eventSource1.loadXML(xml, url); });
Timeline.loadXML("local_data2.xml", function(xml, url) {
eventSource2.loadXML(xml, url); });
Regards
On Saturday, June 23, 2012 2:14:06 PM UTC+10, David Van Fleet wrote:
>
> I am building this site and everything seems to be working in Firefox and
> Chrome
> http://www.west.asu.edu/vanfleet/history/time-test-3.htm
>
> but in the lower band I'd like to have events from another xml file
> showing WWI, Great Depression, WWII, etc.
>
> any code suggestions for how to do this? (I looked at the religions site
> but it is too much for me to figure out).
>
>
--
You received this message because you are subscribed to the Google Groups
"SIMILE Widgets" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/simile-widgets/-/LHaibQMgL2gJ.
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.