Skip to content

d1on/Rucksack

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

Rucksack

Rucksack is a jquery plugin to arrange elements that can fit in the given width. It relies on the knapsack algorithm.

Usage:

$('#container').rucksack({
    width: 'width to fit in. defaults to 960px',
    class: 'class name to be given to the div that will contain the elements of one row. defaults to rucksack'
})

Example

Here's a working example by @omgmog

http://jsfiddle.net/vXbCY/

Contributors:

  1. gauravsc

About

rucksack.js arranges your elements into a proper beautiful arrangement in a given width constraint.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published