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:38] – 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=" | ||
| - | |||
| - | {id: 15, content: '<a href=" | ||
| - | {id: 16, content: '<a href=" | ||
| - | {id: 17, content: '<a href=" | ||
| - | {id: 18, content: '<a href=" | ||
| - | {id: 19, content: '<a href=" | ||
| - | {id: 20, content: '<a href=" | ||
| - | {id: 21, content: '<a href=" | ||
| - | {id: 22, content: '<a href=" | ||
| - | {id: 23, content: '8th New York Cavalry', | ||
| - | {id: 24, content: '<a href=" | ||
| - | {id: 25, content: '118th New York Infantry', | ||
| - | {id: 26, content: '3rd Delaware Infantry', | ||
| - | {id: 27, content: ' | ||
| - | {id: 28, content: '<a href=" | ||
| - | {id: 29, content: '<a href=" | ||
| - | {id: 30, content: '<a href=" | ||
| - | {id: 31, content: '7th Maryland', | ||
| - | {id: 32, content: '3rd Pennsylvania Artillery', | ||
| - | {id: 33, content: '8th New York Heavy Artillery', | ||
| - | {id: 34, content: '9th New York Heavy Artillery', | ||
| - | {id: 35, content: '<a href=" | ||
| - | {id: 36, content: '60th Massachusetts Infantry', | ||
| - | {id: 37, content: '<a href=" | ||
| - | {id: 38, content: '<a href=" | ||
| - | {id: 39, content: '<a href=" | ||
| - | {id: 40, content: '10th Vermont Infantry', | ||
| - | {id: 41, content: '<a href=" | ||
| - | {id: 42, content: '1st New Jersey Militia', | ||
| - | |||
| - | {id: 43, content: '93rd New York National Guard', | ||
| - | {id: 44, content: '213rd Pennsylvania Infantry', | ||
| - | {id: 45, content: '138th Pennsylvania Infantry', | ||
| - | {id: 46, content: '14th New Jersey Infantry', | ||
| - | ]); | ||
| - | |||
| - | var container = document.getElementById(' | ||
| - | var options = { | ||
| - | editable: true // default for all items | ||
| - | }; | ||
| - | |||
| - | var timeline = new vis.Timeline(container, | ||
| - | |||
| - | </ | ||
| - | </ | ||
| - | </ | ||
timeline.1572871137.txt.gz · Last modified: by admin
