jQuery Plugin for Creating Historical Timelines Based On Year | YEARLINE

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.

Related Posts

Input-Values-Using-Mouse-Drag

Create Side Sliders Input Values Using Mouse Drag | Pointer Lock

HTML Range Slider is a lightweight library to create side sliders to adjust values easily and precisely by making use of the Pointer Lock API. Side Slider…

simple-parallax-scrolling-js

Smooth and Lightweight Parallax Scroll Library in Pure Javascript

Lightweight and seamless parallax scrolling library implemented in pure javascript using hardware acceleration for additional performance. Main Features Extremely lightweight with no dependencies A few kilobytes of pure…

Convert-Form-Data-to-JSON

How to Convert Form Data to JSON with HTML Forms | FormsJS

FormsJS is a simple-to-use JavaScript library that covers type subject values to JSON in real time. The items containing the data category will be analyzed automatically. It…

editable-html-table-using-javascript

A Small jQuery Extension to Convert An Editable HTML Table

Editable Table is a small jQuery extension to convert an editable HTML table for fast data entry and validation. A small jQuery extension to convert a static…

jquery.youtube-background

Simple jQuery Plugin for Embedding YouTube Videos As Cover Background

jquery.youtube-background is a jQuery plugin built to facilitate YouTube embeds as cover wallpaper using the YouTube Embed API. There is another jQuery Youtube Video Background plugin that…

Data-Table-Generator-Tabulator

Interactive Data Table Generator with JS/jQuery and JSON | Tabulator

Tabulator allows you to create interactive tables in seconds from any HTML Table, JavaScript array, AJAX data source, or JSON format data. Just include the library in your…