Submit your widget

Awesome jQuery timeline Plugin

Created 11 years ago   Views 10217   downloads 1851    Author ozeetee
Awesome jQuery timeline Plugin
View DemoDownload
Share |

jquery.jqtimeline is a simple, lightweight and elegent timeline plugin for jQuery to show a set of important events on a timeline. Data input is a simple json arrary of timeline events. This plugin can be easily integrated with any other jQuery plugins. Can be use to create Social apps, showing blog timeline, social posts timeline etc.

use it:

1. Include jquery.timeline.js and jquery.timeline.css in your page. The download also contains img folder. Which containes an image used by the stylesheet. Make sure its available to the css file and maintain the same hierarchy.

<!-- Include necessary files -->
<link rel="stylesheet" type="text/css" href="css/jquery.timeline.css" />
<script type="text/javascript" src="js/jquery.timeline.js"></script>

2. Create a div to be used as container for your timeline

<!-- Create a div to be used as container for our timeline. -->
<div id="myTimeline"></div>

3. Create some events to show on jqtimeline and call the plugin constructor.

<script type="text/javascript" src="js/jquery.timeline.js">
    // Create an array of event object. Events can be added and deleted dynamically
    var ev = [{id:1, name:'I used jqtimeline plugin.', on : new Date() }]; 
    //Call the plugin constructor

4. This will create a timline .

Read more:

Tag: timers