This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
timeline [2019/11/04 12:32] admin |
timeline [2019/11/04 12:51] admin |
||
---|---|---|---|
Line 17: | Line 17: | ||
div.vis-readonly.vis-selected { | div.vis-readonly.vis-selected { | ||
/* custom styling for readonly items... */ | /* custom styling for readonly items... */ | ||
- | background-color: #ff4500; | + | |
- | border-color: red; | + | |
- | color: white; | + | |
} | } | ||
</style> | </style> | ||
Line 29: | Line 27: | ||
<body> | <body> | ||
- | <p>Specify individual items to be editable or readonly.</p> | + | <p>Locations and approximate date spans for units serving in Howard County.</p> |
<div id="visualization"></div> | <div id="visualization"></div> | ||
Line 86: | Line 84: | ||
{id: 41, content: '<a href="https://hococivilwar.org/upag/doku.php?id=units:1st_maryland_infantry">1st Maryland Infantry</a>', start: '1861-05-20', end: '1861-06-06', group: 2}, | {id: 41, content: '<a href="https://hococivilwar.org/upag/doku.php?id=units:1st_maryland_infantry">1st Maryland Infantry</a>', start: '1861-05-20', end: '1861-06-06', group: 2}, | ||
{id: 42, content: '1st New Jersey Militia', start: '1864-07-23', end: '1864-08-17', group: 2}, | {id: 42, content: '1st New Jersey Militia', start: '1864-07-23', end: '1864-08-17', group: 2}, | ||
+ | |||
+ | {id: 43, content: '93rd New York National Guard', start: '1864-09-19', end: '1864-10-20', group: 3}, | ||
+ | {id: 44, content: '213rd Pennsylvania Infantry', start: '1865-04-06', end: '1865-06-20', group: 3}, | ||
+ | {id: 45, content: '138th Pennsylvania Infantry', start: '1862-08-30', end: '1863-06-16', group: 3}, | ||
+ | {id: 46, content: '14th New Jersey Infantry', start: '1862-09-05', end: '1863-09-16', group: 3}, | ||
+ | {id: 47, content: '3rd Delaware Infantry', start: '1863-06-24', end: '1864-04-01', group: 3}, | ||
+ | |||
+ | {id: 48, content: '4th Wisconsin Infantry', start: '1861-07-31', end: '1861-11-04', group: 4}, | ||
+ | {id: 49, content: '10th Maine Infantry', start: '1861-11-09', end: '1862-02-28', group: 4}, | ||
+ | {id: 50, content: '12th New Jersey Infantry', start: '1862-09-08', end: '1862-12-10', group: 4}, | ||
+ | {id: 51, content: '138th Pennsylvania Infantry', start: '1863-02-05', end: '1863-06-16', group: 4}, | ||
+ | |||
]); | ]); | ||
var container = document.getElementById('visualization'); | var container = document.getElementById('visualization'); | ||
var options = { | var options = { | ||
- | editable: true // default for all items | + | editable: false // default for all items |
}; | }; | ||