(Created page with "<noinclude> To insert this widget, use the following code: <syntaxhighlight lang=moin>{{#widget:Timeline|id=1xuY4upIooEeszZ_lCmeNx24eSFWe0rHe9ZdqH2xqVNk}}</syntaxhighlight> == Parameters == * '''id''' - timeline id (everything after "''source=''") * '''height''' timeline height, default = 650 (px) * '''width''' timeline width, 100% is default, can be % or pixels (without %) * '''zoom''' zoom ("initial zoom") in the timeline embed code This widget lets you add a [https...") |
No edit summary |
||
(12 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
< | <script type="text/javascript"> | ||
var additionalOptions = { | |||
font: 'opensans-gentiumbook' | |||
} | |||
= | timeline = new TL.Timeline('timeline-embed', | ||
'https://docs.google.com/spreadsheets/d/e/2PACX-1vShzlBjUVf_4TiOCanqjS3W6nd9r8uwwwv4mkQ6fWZptVYrsDVa4XtwGbSVJQ9kQf8zbWkRVyt2suPS/pubhtml', | |||
additionalOptions); | |||
</script> | |||
<!-- or, if you have created your own CSS file... --> | |||
<script type="text/javascript"> | |||
var additionalOptions = { | |||
font: '/css/my-custom-timeline-fonts.css' | |||
} | |||
= | timeline = new TL.Timeline('timeline-embed', | ||
'https://docs.google.com/spreadsheets/d/e/2PACX-1vShzlBjUVf_4TiOCanqjS3W6nd9r8uwwwv4mkQ6fWZptVYrsDVa4XtwGbSVJQ9kQf8zbWkRVyt2suPS/pubhtml', | |||
additionalOptions); | |||
</script> | |||
<!-- another way, if you have created your own CSS file... --> | |||
<link rel="stylesheet" href="https://cdn.knightlab.com/libs/timeline3/latest/css/themes/timeline.theme.dark.css"> | |||
<script type="text/javascript"> | |||
var additionalOptions = { | |||
font: null | |||
} | |||
timeline = new TL.Timeline('timeline-embed', | |||
'https://docs.google.com/spreadsheets/d/e/2PACX-1vShzlBjUVf_4TiOCanqjS3W6nd9r8uwwwv4mkQ6fWZptVYrsDVa4XtwGbSVJQ9kQf8zbWkRVyt2suPS/pubhtml', | |||
additionalOptions); | |||
</script> |
Latest revision as of 09:47, 26 September 2024
<script type="text/javascript"> var additionalOptions = { font: 'opensans-gentiumbook' }
timeline = new TL.Timeline('timeline-embed', 'https://docs.google.com/spreadsheets/d/e/2PACX-1vShzlBjUVf_4TiOCanqjS3W6nd9r8uwwwv4mkQ6fWZptVYrsDVa4XtwGbSVJQ9kQf8zbWkRVyt2suPS/pubhtml', additionalOptions); </script>
<script type="text/javascript"> var additionalOptions = { font: '/css/my-custom-timeline-fonts.css' }
timeline = new TL.Timeline('timeline-embed', 'https://docs.google.com/spreadsheets/d/e/2PACX-1vShzlBjUVf_4TiOCanqjS3W6nd9r8uwwwv4mkQ6fWZptVYrsDVa4XtwGbSVJQ9kQf8zbWkRVyt2suPS/pubhtml', additionalOptions); </script>
<link rel="stylesheet" href="https://cdn.knightlab.com/libs/timeline3/latest/css/themes/timeline.theme.dark.css"> <script type="text/javascript"> var additionalOptions = { font: null }
timeline = new TL.Timeline('timeline-embed', 'https://docs.google.com/spreadsheets/d/e/2PACX-1vShzlBjUVf_4TiOCanqjS3W6nd9r8uwwwv4mkQ6fWZptVYrsDVa4XtwGbSVJQ9kQf8zbWkRVyt2suPS/pubhtml', additionalOptions); </script>