Create Beautiful, Interactive Timelines With jQuery and HTML5

Timeframe is a library for creating a beautiful and interactive timeline using jQuery and HTML5.

simple horizontal timeline css, dynamic horizontal timeline, draw a timeline, timeline drawing examples

Creative Progress Bar Timeline Animation with CSS Only Without Javascript or Jquery

How to make use of it:

1. Load the jQuery JavaScript library and the jQuery timeframe.js script into the project.

<script src="//ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script>
<script src="lib/timeframe.js"></script>

2. Create an empty element that acts as a container for your timeline.

<div id="timeframe"></div>

3. Add your own custom events to the timeline.

var starWarsFilms = {
  name: "Star Wars Films",
  color: "#000000",
  events: [
    {
      name: "A New Hope",
      date: "1977-05-25"
    },
    {
      name: "The Empire Strikes Back",
      date: "1980-05-21"
    },
    {
      name: "Return of the Jedi",
      date: "1983-05-25"
    }
  ]
};

4. Set a start/end date and draw a timeline inside the empty container you just created.

var t = Timeframe("#timeframe")
  .addCategory(starWarsFilms)
  .start("1975-01-01")
  .end("1985-01-01")
  .draw();

5. Default options.

tickHeight: 8,
extHeight: 10

Drawing A Simple Horizontal Timeline, timeframejs Plugin/Github


See Demo And Download

Official Website(andrewjensen): Click Here

This superior jQuery/javascript plugin is developed by andrewjensen. For extra advanced usage, please go to the official website.

Related Posts

Bootstrap-Fileinput

HTML 5 File Input Optimized for Bootstrap 4.x./3.x with File Preview | Bootstrap Fileinput

bootstrap-fileinput is an improved HTML 5 file input  Bootstrap 5.x, 4.x and 3.x with file preview for different files, provides multiple selections, resumable section uploads, and more….

Floating-Whatsapp-Chat-Button

How to Add Floating Whatsapp Chat Button In HTML | venom-button

Venom Button is a very simple plugin for the jQuery floating WhatsApp button. Adds a floating button to your site that calls WhatsApp Click to Chat API. It will automatically start the WhatsApp…

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…

alert-confirm-prompt-attention-js

Simple Alert, Confirm, Prompt Popup Using Vanilla JavaScript Library | attention.js

JavaScript provides various built-in functionality to display popup messages for different purposes. Attention JS is a vanillaJS plugin used to create a custom alert, confirm, or Prompt…

Bootstrap-4-Toast-Notification-Plugin

Lightweight Bootstrap 4 Toast Notification Plugin | BS4 Advanced Toast

A lightweight Bootstrap 4 Toast Notification plugin integrated with JS/jQuery. bs4-toast.js is a JavaScript library that enhances the native Bootstrap toast component with icons, buttons, callbacks, and…

Audio-Visualizations-Wave

How to Create Audio Visualizations with JavaScript | Wave.js

Audio Visualizer Library – wave.js is a vanilla javascript audio visualization library that provides 20+ creative audio visualization effects to bring more engagement to your visitor. Contribute…

Leave a Reply

Your email address will not be published. Required fields are marked *