Advertisement
Guest User

timeline

a guest
Apr 25th, 2019
99
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.01 KB | None | 0 0
  1. <!-- 1 -->
  2. <link title="timeline-styles" rel="stylesheet" href="https://cdn.knightlab.com/libs/timeline3/latest/css/timeline.css">
  3.  
  4. <!-- 2 -->
  5. <script src="https://cdn.knightlab.com/libs/timeline3/latest/js/timeline.js"></script>
  6.  
  7. <div id='timeline-embed' style="width: 100%; height: 600px"></div>
  8.  
  9. <!-- 3 -->
  10. <script type="text/javascript">
  11. // The TL.Timeline constructor takes at least two arguments:
  12. // the id of the Timeline container (no '#'), and
  13. // the URL to your JSON data file or Google spreadsheet.
  14. // the id must refer to an element "above" this code,
  15. // and the element must have CSS styling to give it width and height
  16. // optionally, a third argument with configuration options can be passed.
  17. // See below for more about options.
  18. timeline = new TL.Timeline('timeline-embed',
  19. 'https://docs.google.com/spreadsheets/d/1cWqQBZCkX9GpzFtxCWHoqFXCHg-ylTVUWlnrdYMzKUI/pubhtml');
  20. </script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement