Skip to content
Ensures child elements are horizontally spaced evenly in fluid layouts
JavaScript
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
README.md fixed link in documentation Nov 14, 2010
jquery.distribute.js added readme content Nov 14, 2010
jquery.distribute.min.js added readme content Nov 14, 2010

README.md

jQuery Distribute Plugin

This plugin allows you to evenly distribute elements across the page whilst maintaining minimum and maximum margins between them.

Find the Documentation Here

Perfect for displaying a grid of images within a fluid layout like google images. For best affect call on page load and resize, for example:

    $(window).resize(function(){
        $('#search-results ol').distribute();
    });

    $('#search-results ol').distribute();
Something went wrong with that request. Please try again.