Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/andrewlaskey/blokr

A 2D Carousel UI Grid
https://github.com/andrewlaskey/blokr

Last synced: 19 days ago
JSON representation

A 2D Carousel UI Grid

Awesome Lists containing this project

README

        

blokr
=====

A 2D Carousel UI Grid

Blokr.js is a jQuery plugin that creates a square grid from a list of items. Users can then scroll infinitely through this list by dragging rows and columns.

![blokr_demo](http://i.imgur.com/HXLUWZh.gif)

[Demo](http://andrewlaskey.github.io/blokr/)

##Setting up

Include [hammer.js](https://github.com/EightMedia/hammer.js/)(this makes blokr work on touch devices) and Blokr's javascript and css.

```HTML

```

Set up your grid. The data-size attribute is the length of your rows and columns. Anything can go inside the grid block.

```HTML


  • Block

  • place cage

  • fill murray

  • Block


```

Initialize the plugin.

```JavaScript
$('#myBlocks').blokr();
```

That's it!