Try backing off to /ajax/2.2.1 . That's what timeline normally uses.
On 11/19/2013 10:39 AM, J Chandler wrote:
Same problem. The page loads, but there is no timeline. This is
what I have:
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
<script>
Timeline_ajax_url="http://api.simile-widgets.org/ajax/2.2.3/simile-ajax-api.js";
Timeline_urlPrefix='http://api.simile-widgets.org/timeline/2.3.1/';
Timeline_parameters='bundle=true';
</script>
<script src="<script
src="http:///api.simile-widgets.org/timeline/2.3.1/timeline-api.js">/</script>
<script>
var tl;
function onLoad() {
var bandInfos = [
Timeline.createBandInfo({
width: "70%",
intervalUnit: Timeline.DateTime.MONTH,
intervalPixels: 100
}),
Timeline.createBandInfo({
width: "30%",
intervalUnit: Timeline.DateTime.YEAR,
intervalPixels: 200
})
];
tl = Timeline.create(document.getElementById("my-timeline"), bandInfos);
}
var resizeTimerID = null;
function onResize() {
if (resizeTimerID == null) {
resizeTimerID = window.setTimeout(function() {
resizeTimerID = null;
tl.layout();
}, 500);
}
}
</script>
</head>
<body onload="onLoad();" onresize="onResize();">
<div id="my-timeline" style="height:150px; border:1pxsolid#aaa"></div>
<noscript>
This page uses Javascript to show you a Timeline. Please enable
Javascript in your browser to see the full page. Thank you.
</noscript>
</body>
</html>
--
You received this message because you are subscribed to the Google
Groups "SIMILE Widgets" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/simile-widgets.
For more options, visit https://groups.google.com/groups/opt_out.
--
You received this message because you are subscribed to the Google Groups "SIMILE
Widgets" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/simile-widgets.
For more options, visit https://groups.google.com/groups/opt_out.