Difference between revisions of "Widget:Timeline"
Jump to navigation
Jump to search
| (3 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
<div id="timeline" data-scale="<!--{if (isset($scale))}--><!--{$scale}--><!--{else}-->8<!--{/if}-->"> | |||
<includeonly> | <includeonly> | ||
<script> | <script> | ||
setTimeout( CreateTimeline, 500 ); | setTimeout( CreateTimeline, 500 ); | ||
function CreateTimeline() { | function CreateTimeline() { | ||
timelineparent = document.getElementById('timeline'); | var timelineparent = document.getElementById('timeline'); | ||
var smallestTime = 0; | var smallestTime = 0; | ||
var biggesttime=0; | var biggesttime=0; | ||
| Line 100: | Line 97: | ||
timelineparent.insertBefore(el, timelineparent.firstChild); | timelineparent.insertBefore(el, timelineparent.firstChild); | ||
} | } | ||
</script> | </script> | ||
</includeonly> | </includeonly> | ||