Hello,
Apologies if this question is too simple. I'm trying to write code that
dynamically add events to an existing timeline via ajax with this jquery snippet:
newData = jQuery.parseJSON(data);
for (var i=0; i < newData.events.length; i++){
var event = newData.events[i];
var evt = new Timeline.DefaultEventSource.Event(event);
eventSource.add(evt);
}
But the timeline doesn't get redrawn after calling eventSource.add. Do I need
to call something special to get the timeline redraw? I've tried printing out
the contents of evt and it looks good to me.
Thanks,
Alvin
--
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.