How to use it: 1. Insert your images into the grid like this:
...
2. The basic styles for the image grid. 1 .ga-accordian { display: block; } .ga-item { overflow: hidden; display: block; position: absolute; } .ga-background { } 3. Include jQuery lirbary and the jQuery Grid Accordian plugin at the bottom of the webpage. 4. Call the plugin on the parent container. $(document).ready(function() { $("#my-ga").GridAccordian({ cols: 4, // default 2 speed: 600 // animation speed }) }) 5. Full plugin options. speed: 600, margin: 2, // your settings are equal to their value if window's width equal to this value baseWindowSize: 1400, baseFontSize: 14, briefOffset: 2, briefFontColor: "rgba(0, 0, 0, 1.0)", // background-color briefBGColor: "rgba(127, 127, 127, 0.8)",