All Projects → RyanFitzgerald → vertical-timeline

RyanFitzgerald / vertical-timeline

Licence: MIT license
Responsive, jQuery-based vertical timeline generator

Programming Languages

HTML
75241 projects
javascript
184084 projects - #8 most used programming language
CSS
56736 projects

Projects that are alternatives of or similar to vertical-timeline

Automotive-Security-Timeline
汽车信息安全事件时间轴
Stars: ✭ 45 (-40%)
Mutual labels:  timeline
LineTimeline
Line Timeline API
Stars: ✭ 12 (-84%)
Mutual labels:  timeline
keyframe
A simple keyframe utility for custom animation
Stars: ✭ 16 (-78.67%)
Mutual labels:  timeline
Timeline
AS2 & AS3 CPPS Emulator, written in Python. (Club Penguin Private Server Emulator)
Stars: ✭ 49 (-34.67%)
Mutual labels:  timeline
timeline-component-lwc
This component enables timeline view for Salesforce Record history.
Stars: ✭ 18 (-76%)
Mutual labels:  timeline
chartjs-chart-timeline
Google-like timeline chart for Chart.js.
Stars: ✭ 44 (-41.33%)
Mutual labels:  timeline
ember-vertical-timeline
A Vertical Timeline for Ember.js apps 🚀
Stars: ✭ 19 (-74.67%)
Mutual labels:  timeline
block-twitter-promoted
Block promoted contents including tweets, trends, and, follows, hide more annoying contents, switch to Latest Tweets for home page on Twitter.
Stars: ✭ 25 (-66.67%)
Mutual labels:  timeline
timeline-vuejs
Minimalist Timeline ⏳ with VueJS 💚
Stars: ✭ 116 (+54.67%)
Mutual labels:  timeline
timeline-express
Timeline express allows you to create a vertical animated and responsive timeline of posts, without writing a single line of code. Sweet!
Stars: ✭ 20 (-73.33%)
Mutual labels:  vertical
stream-net
NET Client - Build Activity Feeds & Streams with GetStream.io
Stars: ✭ 28 (-62.67%)
Mutual labels:  timeline
TTTTRPG
Timeline Tree of Tabletop Role-Playing Games, celebrating more than 40 years game design innovations
Stars: ✭ 34 (-54.67%)
Mutual labels:  timeline
react-gantt-schedule-timeline-calendar
React Gantt Schedule Timeline Calendar component wrapper for gantt-schedule-timeline-calendar [ react gantt, gantt, react gantt chart, react schedule, react timeline, react calendar, gantt, schedule, scheduler, timeline, calendar, react gantt chart ]
Stars: ✭ 47 (-37.33%)
Mutual labels:  timeline
stream-python
Python Client - Build Activity Feeds & Streams with GetStream.io
Stars: ✭ 134 (+78.67%)
Mutual labels:  timeline
angular-gantt-schedule-timeline-calendar-example
Angular gantt-schedule-timeline-calendar usage example
Stars: ✭ 15 (-80%)
Mutual labels:  timeline
Timespace
A jQuery plugin to handle displaying of time events
Stars: ✭ 27 (-64%)
Mutual labels:  timeline
jquery-linechart
JQuery plugin for creating charts
Stars: ✭ 42 (-44%)
Mutual labels:  timeline
jQuery-Google-Plus-Stream
jQuery Google Plus Stream
Stars: ✭ 16 (-78.67%)
Mutual labels:  timeline
angular-timelinejs3
A timelineJS3 angular directive
Stars: ✭ 26 (-65.33%)
Mutual labels:  timeline
timeline
Timeline - A photo organizer
Stars: ✭ 39 (-48%)
Mutual labels:  timeline

Vertical Timeline

Vertical Timeline is a responsive, jQuery-based generator that builds a timeline based on user input. It comes with a number of customization options out of the box such as displaying dates, alternating toggle, animation, and choosing which side it starts on. It comes with little to no styling other than what it required, so it can be styled to suite your specific needs. I originally created a timeline for my personal website, however I have since found a number of possible reuse options for it, so I decided to create this simple plugin.

The website for this plugin can be found here, which has the demo.

Installation & Setup

All the installation that is required is simply including the compiled CSS and JS file in your document (minified or not) and then initializing it.

Top of page:

<link rel="stylesheet" type="text/css" href="path/to/vertical-timeline.css">

Bottom of page:

<script src="path/to/vertical-timeline.min.js"></script>

Finally, initialize it:

$('#someIDorClass').verticalTimeline();

How to Use

Timeline has a few options that can be customized to suite your specific needs. The included options that can be utilized are:

Name Description Default
startLeft Choose whether or not it starts on the left (false = right side) true
alternate Choose whether or not the points alternate sides true
animate Choose whether or not points fade in as they appear in viewport (options: "fade", "slide") false
arrows Choose whether or not the content arrows show true

Example Usage

Another example usage of timeline using it's available options is as follows:

$('#myID').verticalTimeline({
    startLeft: false,
    alternate: true,
    animate: "fade",
    arrows: false
});

Adding Dates

Dates can easily be added by utilizing data attributes. In order to have dates show up, the following data attribute is used:

<div id="myTimeline">
    <div data-vtdate="February 2016">
        My Content 1
    </div>
    <div data-vtdate="March 2016">
        My Content 2
    </div>
    <div data-vtdate="April 2016">
        My Content 3
    </div>
</div>

Every time that data attribute is used, that date will be displayed.

Override Side

If you want, you can override the side that the content block shows up on by default. By adding the override, it will ignore whatever alternation or start side the other elements use. This can be done as follows:

<div id="myTimeline">
    <div data-vtside="left">
        My Content 1
    </div>
    <div>
        My Content 2
    </div>
    <div>
        My Content 3
    </div>
</div>

Modifying Styles

All elements use classes so their styles can be easily overwritten. You can add styles for any of the following elements:

Name Description Class Used
Timelime Wrapper This wraps the entire timeline .vtimeline
Timeline Point This wraps the entirety of each point on the timeline .vtimeline-point
Timeline Icon This is the icon associated with each point .vtimeline-icon
Timeline Block This holds the date and content for each point .vtimeline-block
Timeline Date This holds the date, if provided .vtimeline-date
Timeline Content This holds the actual content of each point .vtimeline-content

Adding Icons

You can optionally add an icon inside of the circle corresponding to each timeline point. To do this, create a div inside of your content and give it the data attribute data-vticon="true". Anything inside this div will get placed inside .vtimeline-icon of the corresponding element. You can use this to easily associate SVG icons, font-awesome icons, etc. with every point or only certain points. An example usage is as follows:

<div id="myTimeline">
    <div>
        <div data-vticon="true">
            <img src="some/icon/here.png">
        </div>
    </div>
    <div>
        My Content 2
    </div>
    <div>
        My Content 3
    </div>
</div>

Special Mention

CodyHouse.co

Provided initial idea for the layout of the timeline from a published tutorial

License

MIT License (Free - see LICENSE.md)

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].