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:48] admin |
timeline [2019/11/04 12:51] (current) 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 95: | Line 93: | ||
{id: 48, content: '4th Wisconsin Infantry', start: '1861-07-31', end: '1861-11-04', group: 4}, | {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: 49, content: '10th Maine Infantry', start: '1861-11-09', end: '1862-02-28', group: 4}, | ||
- | {id: 50, content: '10th Maine Infantry', start: '1862-09-08', end: '1862-12-10', 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}, | ||
]); | ]); | ||
Line 101: | Line 100: | ||
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 |
}; | }; | ||