timeline
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| timeline [2019/11/04 12:29] – admin | timeline [2026/01/21 16:56] (current) – removed admin | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | < | ||
| - | < | ||
| - | < | ||
| - | |||
| - | < | ||
| - | body, html { | ||
| - | font-family: | ||
| - | font-size: 11pt; | ||
| - | } | ||
| - | |||
| - | div.vis-editable, | ||
| - | div.vis-editable.vis-selected { | ||
| - | /* custom styling for editable items... */ | ||
| - | } | ||
| - | |||
| - | div.vis-readonly, | ||
| - | div.vis-readonly.vis-selected { | ||
| - | /* custom styling for readonly items... */ | ||
| - | background-color: | ||
| - | border-color: | ||
| - | color: white; | ||
| - | } | ||
| - | </ | ||
| - | |||
| - | <script src=" | ||
| - | <link href=" | ||
| - | | ||
| - | </ | ||
| - | < | ||
| - | |||
| - | < | ||
| - | |||
| - | <div id=" | ||
| - | |||
| - | < | ||
| - | // create groups to highlight groupUpdate | ||
| - | var groups = new vis.DataSet([ | ||
| - | {id: 1, content: ' | ||
| - | {id: 2, content: 'Relay House' | ||
| - | {id: 3, content: ' | ||
| - | {id: 4, content: ' | ||
| - | ]); | ||
| - | // create a DataSet with items | ||
| - | var items = new vis.DataSet([ | ||
| - | {id: 1, content: '<a href=" | ||
| - | {id: 2, content: '<a href=" | ||
| - | {id: 3, content: '<a href=" | ||
| - | {id: 4, content: '<a href=" | ||
| - | {id: 5, content: '<a href=" | ||
| - | {id: 6, content: '<a href=" | ||
| - | {id: 7, content: '1st Michigan Infantry', | ||
| - | {id: 8, content: '144th Ohio Infantry', | ||
| - | {id: 9, content: '<a href=" | ||
| - | {id: 10, content: '<a href=" | ||
| - | {id: 11, content: '<a href=" | ||
| - | {id: 12, content: '109th New York Volunteer Infantry', | ||
| - | {id: 13, content: '27th Massachusetts Regiment', | ||
| - | {id: 14, content: '<a href=" | ||
| - | ]); | ||
| - | |||
| - | var container = document.getElementById(' | ||
| - | var options = { | ||
| - | editable: true // default for all items | ||
| - | }; | ||
| - | |||
| - | var timeline = new vis.Timeline(container, | ||
| - | |||
| - | </ | ||
| - | </ | ||
| - | </ | ||
timeline.1572870571.txt.gz · Last modified: by admin
