【发布时间】:2013-02-22 15:41:36
【问题描述】:
我正在尝试使用时间线创建时间线。 (http://timeline.verite.co/) 问题是我不能回到公元前 9000 年以上,如果我将 ERA 添加到 JSON 对象,时间线就会变得一团糟(从更远的地方开始,线的位置和时代重叠)。
你能告诉我怎么做吗? (使用时代和 10000+ BC)
还发现了这个:Can you create dates that are lower than 271800 BC? Like dinosaur time? 我怎样才能克服这个问题?
这是我的 JSON
{
"timeline":
{
"headline":"XXX",
"type":"default",
"text":"TEXTTTT",
"startDate":"-11000",
"date": [
{
"startDate":"-7000",
"endDate":"",
"headline":"title 1",
"text":"text 1"
},
{
"startDate":"-4000",
"endDate":"",
"headline":"title 2",
"text":"text 2"
},
{
"startDate":"-2500",
"endDate":"",
"headline":"title 3",
"text":"text 3"
}
],
"era": [
{
"startDate":"10000",
"endDate":"8000",
"headline":"Era 1",
"text":"<p>Body text goes here, some HTML is OKs</p>",
"tag":"This is Optionals"
},
{
"startDate":"-4000",
"endDate":"-3000",
"headline":"Era 2",
"text":"<p>Body text goes here, some HTML is OK</p>",
"tag":"This is Optional"
}
]
}
}
谢谢
【问题讨论】:
标签: javascript timeline