Spotify Album Masonry

www.spotify.com/us/

You can find the actual reference here

www.printajoy.com/

Example use here

Download

Github

Dependency

jQuery

Usage

    <!-- Import jquery.js & masonry.js --
    <script src="js/libs/jquery.js"></script>
    <script src="js/libs/masonry.js"></script>

    <!-- Create empty container -->

    <div class="masonry">
    </div>


    <!-- Call the function -->
    <script>
        // images array 
        var images = ["<image1>","<image2>"];
        // parameters [container,images,size] respectively
        masonry.init(".masonry",images,100);
    </script>

Licence

It’s Licenced under MIT

 
7
Kudos
 
7
Kudos

Now read this

CCAvenue Ruby Gem

Motivation I wrote this Gem whilst working on printajoy. It enables you integrate CCAvenue Payment Gateway with your existing Ruby application. What is a Gem? Gem are packages that work as standalone application or can be used to enhance... Continue →