Creating vertical timelines with Javascript/jQquer

2020-02-10 06:33发布

问题:

I saw other questions about libraries to create timelines with Javascript. There are some libraries, but they create horizontal timelines, but I want to create a vertical.

So, which is a good library to create vertical timelines?

I don't want a timeline like Facebook with posts, but a simple timeline with years and items like in this question, but vertical instead of horizontal.

回答1:

I have a jQuery plugin to create a simple vertical timeline. See this for background and this for a demo.



回答2:

If you want to do a FB like timeline jQuery mansonry is quite good and with a bit of CSS is enough to create the core timeline. Then add what you want to it, I know there is even a tutorial out there for it but can't find it. http://masonry.desandro.com/

Otherwise there is this project

Here is the FB timeline tutorial, not the best but help getting the basic in place



回答3:

I think this is what you are looking for https://github.com/balancemedia/Timeline

This uses Isotope to create series of events, in a vertically time-sorted structure.