Source files of fsfe.org, pdfreaders.org, freeyourandroid.org, ilovefs.org, drm.info, and test.fsfe.org. Contribute: https://fsfe.org/contribute/web/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

index.en.xhtml 2.0KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. <?xml version="1.0" encoding="UTF-8" ?>
  2. <html>
  3. <head>
  4. <title>FSFE Success Timeline</title>
  5. <link rel="stylesheet" href="styles.css" type="text/css" />
  6. <script src="api/timeline-api.js?bundle=true" type="text/javascript"></script>
  7. <script>
  8. var tl;
  9. function onLoad() {
  10. var eventSource = new Timeline.DefaultEventSource(0);
  11. var theme = Timeline.ClassicTheme.create();
  12. theme.event.bubble.width = 350;
  13. theme.event.bubble.height = 300;
  14. var d = Timeline.DateTime.parseGregorianDateTime("2005")
  15. var bandInfos = [
  16. Timeline.createBandInfo({
  17. width: "100%",
  18. intervalUnit: Timeline.DateTime.DECADE,
  19. intervalPixels: 400,
  20. eventSource: eventSource,
  21. date: d,
  22. theme: theme,
  23. layout: 'original' // original, overview, detailed
  24. })
  25. ];
  26. tl = Timeline.create(document.getElementById("tl"), bandInfos, Timeline.HORIZONTAL);
  27. tl.loadXML("fsfe.xml", function(xml, url) { eventSource.loadXML(xml, url); });
  28. setupFilterHighlightControls(document.getElementById("controls"), tl, [0,1], theme);
  29. }
  30. var resizeTimerID = null;
  31. function onResize() {
  32. if (resizeTimerID == null) {
  33. resizeTimerID = window.setTimeout(function() {
  34. resizeTimerID = null;
  35. tl.layout();
  36. }, 500);
  37. }
  38. }
  39. </script>
  40. </head>
  41. <body onload="onLoad();" onresize="onResize();">
  42. <div id="body">
  43. <h1>FSFE Timeline</h1>
  44. <div id="tl" class="timeline-default" style="height: 200px;"></div>
  45. </div>
  46. </body>
  47. <timestamp>$Date: 2013-01-16 13:36:48 +0100 (Wed, 16 Jan 2013) $ $Author: gerloff $</timestamp>
  48. </html>
  49. <!--
  50. Local Variables: ***
  51. mode: xml ***
  52. End: ***
  53. -->