Hi Hans,
Can you supply a problem example using the unbundled Ajax and Timeline
libraries?
And can you provide an html/js file that triggers the error?
To use the unbundled Timeline and Ajax libraries
Change
<script
src="http://api.simile-widgets.org/timeline/2.3.1/api/timeline-api.js?bundle=true"
type="text/javascript"></script>
To
<script> Timeline_ajax_url =
"http://api.simile-widgets.org/ajax/2.2.1/simile-ajax-api.js?bundle=false"</script>
<script
src="http://api.simile-widgets.org/timeline/2.3.1/api/timeline-api.js?bundle=false"
type="text/javascript"></script>
Thanks,
Larry
~~~~~~~~~~~~~~~~
From: "[email protected]" <[email protected]>
To: SIMILE Widgets <[email protected]>
Sent: Wednesday, March 11, 2009 10:28:39 AM
Subject: Manually adding events
In timeline version 2.3.0 the method of adding events changed to
something like (see sources.js):
var evt = new Timeline.DefaultEventSource.Event(
{
'start':dateEvent, //start
'end':dateEvent, //end
'latestStart':dateEvent, //latestStart
'earliestEnd':dateEvent, //earliestEnd
'instant':true, //instant
'text':"Event " + i, //text
'description':"Description for Event " + i //description
);
After implementing this solution I ran into the following problem
while clicking on an event: in simile-ajax-bundle.js a call to
function getDate() is not possible (...return new Date(A.getDate()
+B.. ).
A is already a millisecond value so ".getDate()" could be removed and
it worked again.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---