黑色壁纸 simile
I've been exploring recently the amazing Timeline Javascript library from the SIMILE folks over at MIT.
最近,我一直在MIT的SIMILE团队中探索令人惊叹的Timeline Javascript库。
What a joy to work with! I've not historically been a fan, by any means, of JavaScript. Of course, debugging it can be a hassle and the development process always feels very unstructured to me. Heh, probably a side-effect of the language, right?
一起工作真是一件乐事! 从历史上看,我从来都不是JavaScript的粉丝。 当然,调试可能会很麻烦,并且开发过程始终让我感到结构混乱。 呵呵,可能是这种语言的副作用吧?
Anyway, the API for the SIMILE Timeline is very well thought-out. It's very JavaScripty, to be clear, but it is even easier to pick up than the Google Maps API.
无论如何, SIMILE时间轴的API是经过深思熟虑的。 需要说明的是,它非常具有JavaScript风格,但是比起Google Maps API来说,拾起起来甚至更加容易。
So easy, in fact, that I was able to add Timeline support to DasBlog over my lunch hour. Check it out at http://www.hanselman.com/blog/timeline.aspx. Try typing in the Highlight boxes, as shown in the screenshot above. Notice the highlighting in both bands of the timeline. I've checked the server-side TimelineHandler that creates the XML that Timelines consume into the head of the DasBlog tree.
事实上,它非常容易,我可以在午餐时间为DasBlog添加Timeline支持。 在http://www.hanselman.com/blog/timeline.aspx上进行检查。 尝试在“突出显示”框中键入内容,如上面的屏幕快照所示。 请注意时间轴两个波段中的突出显示。 我已经检查了服务器端TimelineHandler,该服务器创建了Timelines消耗到DasBlog树的头部的XML。
Also, take a look at their "Exhibit" project. Maybe Web 2.0 will turn out something useful after all! :)
另外,看看他们的“展览”项目。 也许Web 2.0终将成为有用的东西! :)
翻译自: https://www.hanselman.com/blog/adding-a-timeline-to-dasblog-with-the-simile-timeline-library
黑色壁纸 simile