Thanks Jon. This is what I did. It looks like a step in the right
direction, but maybe not far enough.
tl = Timeline.create(document.getElementById("clusTimeline"),
bandInfos, Timeline.HORIZONTAL);
eventSource.loadJSON(eventData["timeline"],
document.location.href);
tl.loadJSON(eventData["timeline"], function(json, url) {
eventSource.loadJSON(json, url); })
It showed the loading message, but then I got this error message
popping up:
Failed to load json data from [object Object]
Not Found
Near as I can tell, the tl.loadJSON tries to load the raw json
information from the server. When I replaced eventData["timeline"]
with the URL of my server call, it stopped complaining, but it still
did not show the events.
On Oct 4, 10:20 am, Jon Crump <[email protected]> wrote:
> Herb,
>
> Just an under-educated guess here, but in the code you posted, I don't
> see anyplace where the Timeline instance you've created with tl =
> Timeline.create() is loaded with the contents of your eventSource. I
> would have expected to see something like:
>
> tl.loadJSON("someReferenceToTheData.js", function(json, url) {
> eventSource.loadJSON(json, url); })
>
> Jon
--
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.