I've followed the instructions at: http://code.google.com/p/simile-widgets/wiki/Timeline_GettingStarted
Through step 3, as best as I can tell, I should have this code: <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/ TR/html4/strict.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/ html;charset=UTF-8" /> <title>Test Timeline</title> <script src="http://static.simile.mit.edu/timeline/api-2.2.0/ timeline-api.js" type="text/javascript"> 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: 1px solid #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> This is supposed to yield "a horizontal timeline ... with 2 bands: in the top band, a month spans 100 pixels ... and in the bottom band, a year spans 200 pixels. The top band takes up 70% of the timeline's height, and the bottom band 30%." yet all I get is a blank rectangular box. I'm viewing on Firefox 3.0.6 on Mac OS X 10.4.11 Did I not follow correctly or is something missing from the instructions? Any help would be appreciated. Thanks, Terry --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
