Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ilkeryilmaz/timelinejs

🎬 jQuery timeline plugin, easily creates timeline slider.
https://github.com/ilkeryilmaz/timelinejs

chronology jquery-plugin jquery-timeline jquery-timeline-plugin milestone timeline

Last synced: about 1 month ago
JSON representation

🎬 jQuery timeline plugin, easily creates timeline slider.

Awesome Lists containing this project

README

        

# jQuery Timeline Plugin
jQuery timeline plugin, easily creates a timeline.

![screenshoot](https://raw.githubusercontent.com/ilkeryilmaz/timelinejs/master/demo/img/example.png)

## Getting Started

#### 1.1. Installation with Package Managers
Timeline.js is now setup and ready to be used with [Bower](https://bower.io/) and [NPM](https://www.npmjs.com/package/timelinejs-slider) and can be installed using the following commands.

```shell
bower install timelinejs-slider
```

```shell
npm install timelinejs-slider
```

#### 1.2. The Basics
Include the jQuery library and plugin:

```html

```

Include the plugin css file:

```html

```

Html markup:

```html



your content or markup

your content or markup

your content or markup

your content or markup

your content or markup



```

Start plugin:

```js
$(function(){
$('.js-timeline').Timeline();
});
```

## Options

_Available options listed below._
```js
$('.timeline').Timeline({
autoplay: false,
// value: boolean | Enables Autoplay
autoplaySpeed: 3000,
// value: integer | Autoplay Speed in milliseconds
mode: 'horizontal',
// value: horizontal | vertical, default to horizontal
itemClass: 'timeline-item',
// value: item class
dotsClass: 'timeline-dots',
// value: dots item class
activeClass: 'slide-active',
// value: item and dots active class
prevClass: 'slide-prev',
// value: item and dots prev class
nextClass: 'slide-next',
// value: item and dots next class
startItem: 'first', // first|last|number
// value: first | last | number , default to first
dotsPosition: 'bottom',
// value: bottom | top, default to bottom
pauseOnHover: true,
// value: boolean | Pause Autoplay On Hover
pauseOnDotsHover: false,
// value: boolean | Pause Autoplay when a dot is hovered
});
```

## Demo

https://ilkeryilmaz.github.io/timelinejs/

## Tasks

- [x] ~~Basic plugin~~
- [x] ~~Demo page and documentation~~
- [ ] Migrate ES6
- [ ] Mouse drag and touch support
- [ ] Mobile support
- [ ] Next/prev button
- [ ] Advanced features (date slider, ~~autoplay~~.)