YEARLINE is a jQuery plugin that uses HTML5 Canvas to present a historical timeline schedule of normal plain text.
responsive horizontal timeline jquery, jquery horizontal timeline, horizontal timeline slider jquery, jquery timeline slider, horizontal timeline js, jquery timeline plugin
How to make use of it:
1. Include the JQUERY JAVASCRIPT library and JQUERY YEARLINE
.
<script src="//code.jquery.com/jquery-1.11.3.min.js"></script> <script src="yearline.js"></script>
2. Create a DIV and add your events separated by "***"
to the timeline/schedule.
<div class="myYearline"> *** 2015 Headline 1 Event text. Importance 5. 5 *** 2010 Headline 2 Event text. Importance 1. 1 *** 2005 Headline 3 Event text. Importance 2. 2 </div>
3. Call the job on the DIV to create a historical timetable on the basis of the year.
$('.myYearline').yearline({ // options });
4. Add the basic CSS patterns as shown below to your CSS file.
.timelineEvent { margin-right: 5px; } .timelineHeading { border-bottom: 1px solid black; text-transform: uppercase; } .timelineTitle { } .timelineText { padding: 2px; border: 1px solid black; border-top: none; } .timelineHiddenObject { display: none; } .timelineCat1 { background-color: #000; z-index: 99; } .timelineCat2 { z-index: 98; background-color: #333; } .timelineCat3 { z-index: 97; background-color: #666; } .timelineCat4 { z-index: 96; background-color: #888; } .timelineCat5 { z-index: 95; background-color: #999; } .timelineBringToFront { z-index: 100 !important; }
5. The default options for the additional component.
// background color backgroundColor: "white", // width/height of the timeline width: 400, height: 300, // google font font: "Roboto", // text color dataText: "#e0e0e0", // padding padding: 4,
canvas based historical timeline, YEARLINE Plugin/Github, vertical scrolling timeline jquery
See Demo And Download
Official Website(klinkaren): Click Here
This superior jQuery/javascript plugin is developed by klinkaren. For extra advanced usage, please go to the official website.