Nos produits

Description

QuickSand plugin (jquery.quicksand.js) is used to filter images.

Quicksand replaces one collection of items with another. All you need to do is provide those two sets of items.

First of all create a list with image categories.

<ul class="splitter">
	<li>
		 <ul class="fleft">
			<li class="segment-1 selected-1"><a data-value="all" class="btn">Everything</a></li>
			<li class="segment-0"><a data-value="Category1" class="btn">Category 1</a></li>
			<li class="segment-2 last"><a data-value="Category2" class="btn">Category 2</a></li>
		 </ul>
	 </li>
</ul>

Then you need to create a list of items that will be filtered.

<ul id="boxes-filter" class="image-grid">
	<li data-id="id-1" class="Category1">
		Your Object Content
	</li>
	<li data-id="id-2" class="Category2">
		Your Object Content
	</li>
	...
</ul>

Please note that each new <li> tag should have attribute data-id="id-1" assigned with sufficient id number and class class="Category1" with the required category name. Please make sure that your category name matches the data-value attribute in the categories list. It is required to define .image-grid li element width and height in style.css file.