This is a jQuery plugin for laying out a dynamic grid of elements.
See the documentation page for examples.
- jQuery - 1.4.3 or better
Copy jquery.wookmark.js
to your javascript folder.
The plugin can be called with jQuery in different ways.
$('.myElements').wookmark();
Where myElement
is the class of the items you want to lay out in a grid.
$('.myElements').wookmark({
container: $('myContent'),
offset: 5,
itemWidth: 200
});
See the documentation page for details on available options.
Please send me an email with any feedback you have or contact me on twitter @gbks.
Contribute!