Never mind, turns out in my work of cut and pasting examples I missed
declaring the datasource...

My bad.


On Apr 7, 11:22 am, Brian Jensen <[email protected]> wrote:
> Hello!
>
> No matter what I try, I cant seam to add events to timeline. Can
> someone please supply a working example with json? A sample json file
> and their javascript content..
>
> I dont get any errors.
>
> Thanks in advance.
>
> tl = Timeline.create(document.getElementById("my-timeline"),
> bandInfos);
>    Timeline.loadJSON("http://localhost/test.json";, function(json, url)
> { eventSource.loadXML(json, url); });
>
> Ive even tried with XML
>
> tl = Timeline.create(document.getElementById("my-timeline"),
> bandInfos);
>    Timeline.loadXML("example1.xml", function(xml, url)
> { eventSource.loadXML(xml, url); });
>
> And from a events variable:
> eventSource.loadJSON(events, '');
--~--~---------~--~----~------------~-------~--~----~
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