Great for displaying images, a store with a list of products or a designer profile.
The ilustrations were provided by @eldelentes an excellent designer and good friend.
Invoke the plugin by calling the init function on the Grid object.
<script>
$(function() {
ExpandPreview.init();
});
</script>
Heads up!
The plugin uses the preview-grid id on the ul element with the preview grid.
You have to set up some data attributes to display the expanding wrapper correctly.
Name | Description |
---|---|
largesrc | The source of the original or large version of the image. |
title | The title for the image |
description | A brief description of the image |