Converted to Jekyll. Woo!

pull/56/head
Glen Cheney 11 years ago
parent f8fdbaef1f
commit 060c3315ee

1
.gitignore vendored

@ -1,2 +1,3 @@
.DS_Store
_site

@ -0,0 +1,8 @@
source: .
destination: ./_site
plugins: ./_plugins
layouts: ./_layouts
include: ['.htaccess']
exclude: []
permalink: /:title

@ -0,0 +1,2 @@
</body>
</html>

@ -0,0 +1,36 @@
<!DOCTYPE html>
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7" lang="en"> <![endif]-->
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8" lang="en"> <![endif]-->
<!--[if IE 8]> <html class="no-js lt-ie9" lang="en"> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js" lang="en"> <!--<![endif]-->
<head>
<meta charset="utf-8" />
<title>{{ page.title }}</title>
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta property="og:title" content="{{ page.title }}" />
<meta property="og:description" content="Shuffle, categorize, sort, and filter a grid of items" />
<meta property="og:type" content="website" />
<meta property="og:url" content="http://vestride.github.com/Shuffle/" />
<meta property="og:image" content="http://vestride.github.com/Shuffle/img/hero.png" />
<meta property="og:site_name" content="jQuery Shuffle Plugin" />
<meta property="fb:admins" content="771347349" />
<meta name="author" content="https://plus.google.com/u/0/100210640453700033824" />
<link href="https://plus.google.com/u/0/100210640453700033824" rel="author" />
<link rel="stylesheet" href="{{ site.url }}/css/prism.css" />
<link rel="stylesheet" href="{{ site.url }}/css/style.css" />
<link rel="stylesheet" href="http://fonts.googleapis.com/css?family=Poly:400,400italic" />
{% if page.extraCSS %}
{% for href in page.extraCSS %}
<link rel="stylesheet" href="{{ href }}" />
{% endfor %}
{% endif %}
<!--[if lt IE 9]>
<script src="js/html5shiv.js"></script>
<![endif]-->
</head>
<body class="{{ page.bodyClass }}">

@ -0,0 +1,9 @@
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
<script src="js/jquery.shuffle.js"></script>
<script src="js/prism.js"></script>
{% if page.extraJS && page.extraJS.length %}
{% for src in page.extraJS %}
<script src="js/demos/{{ src }}"></script>
{% endfor %}
{% endif %}

@ -0,0 +1,6 @@
{% include head.html %}
<main role="main" id="main">
{{ content }}
</main>
{% include scripts.html %}
{% include foot.html %}

@ -0,0 +1,9 @@
---
layout: default
title: Basic Shuffle Demo
bodyClass: basic
extraJS: [ "homepage.js" ]
---
<ul>
<li>Use the one from the main homepage demo</li>
</ul>

@ -0,0 +1,404 @@
---
layout: default
title: Shuffle Responsive Demo
bodyClass: masonry
extraJS: [ "gallery.js" ]
extraCSS: [ "http://twitter.github.io/bootstrap/assets/css/bootstrap.css", "http://twitter.github.io/bootstrap/assets/css/bootstrap-responsive.css", "/css/gallery.css" ]
---
<section class="gallery container">
<div class="hero">
<img src="http://placekitten.com/1170/400" alt="">
<div class="ghost-center-wrap full">
<div class="hero-text ghost-center">
<div>Example</div>
<h1>Responsive bootstrap</h1>
<h2>With compounded filters</h2>
</div>
</div>
</div>
<h2>Filters</h2>
<div class="product-filter">
<div class="filter-options row">
<ul class="span6 unstyled megapixels">
<li data-megapixels="14-16" class="btn">14-16MP</li>
<li data-megapixels="16-18" class="btn">16-18MP</li>
<li data-megapixels="18-20" class="btn">18-20MP</li>
<li data-megapixels="20+" class="btn">20MP+</li>
</ul>
<ul class="span6 unstyled features">
<li>
<label><input type="checkbox" value="lcd"> LCD</label>
</li>
<li>
<label><input type="checkbox" value="touchscreen"> Touchscreen LCD</label>
</li>
<li>
<label><input type="checkbox" value="panorama"> Intelligent Sweep Panorama</label>
</li>
<li>
<label><input type="checkbox" value="lightweight"> Lightweight</label>
</li>
</ul>
</div>
</div>
<div class="products">
<div class="span6 h2 product box" data-groups='["lcd", "lightweight"]' data-megapixels="20+" data-price="649">
<div class="product-img">
<img src="/img/baseball.png" alt="" />
</div>
<div class="product-content">
<div class="product-model">ASDF-1</div>
<div class="product-name">Camera JKLP</div>
<div class="product-rating">***** (41)</div>
<div class="product-meta">
<ul>
<li>20.2 <span class="product-meta-name">megapixels</span></li>
<li>3" <span class="product-meta-name">lcd</span></li>
<li>Explore <span class="product-meta-name">sensor</span></li>
</ul>
</div>
<div class="product-price">
<span class="muted">Starting at</span>
<br>
<b>$649.99</b> <span class="muted">MSRP</span>
</div>
</div>
</div>
<div class="span6 product link box" data-groups='["lcd", "touchscreen", "panorama", "lightweight"]' data-megapixels="16-18" data-price="1199">
<p>Massive Sensor Loruem Ipsum</p>
<a href="#" class="btn">Explore Sensor</a>
</div>
<div class="span3 product box" data-groups='["panorama", "lightweight"]' data-megapixels="16-18" data-price="329">
<div class="product-img">
<img src="/img/pumpkin.png" alt="" />
</div>
<div class="product-content">
<div class="product-model">ASDF-1</div>
<div class="product-name">Camera JKLP</div>
<div class="product-rating">***** (10)</div>
<div class="product-meta">
<ul>
<li>16.2 <span class="product-meta-name">megapixels</span></li>
<li>Waterproof <span class="product-meta-name">body</span></li>
<li>Cool <span class="product-meta-name">sensor</span></li>
</ul>
</div>
<div class="product-price">
<span class="muted">Starting at</span>
<br>
<b>$329.99</b> <span class="muted">MSRP</span>
</div>
</div>
</div>
<div class="span3 product box" data-groups='["lcd", "lightweight"]' data-megapixels="18-20" data-price="369">
<div class="product-img">
<img src="/img/tennis-ball.png" alt="" />
</div>
<div class="product-content">
<div class="product-model">ASDF-1</div>
<div class="product-name">Camera JKLP</div>
<div class="product-rating">***** (41)</div>
<div class="product-meta">
<ul>
<li>20.2 <span class="product-meta-name">megapixels</span></li>
<li>3" <span class="product-meta-name">lcd</span></li>
<li>Cool <span class="product-meta-name">sensor</span></li>
</ul>
</div>
<div class="product-price">
<span class="muted">Starting at</span>
<br>
<b>$649.99</b> <span class="muted">MSRP</span>
</div>
</div>
</div>
<div class="span3 product box" data-groups='["lcd", "touchscreen"]' data-megapixels="18-20" data-price="269">
<div class="product-img">
<img src="/img/imac.png" alt="" />
</div>
<div class="product-content">
<div class="product-model">ASDF-1</div>
<div class="product-name">Camera JKLP</div>
<div class="product-rating">***** (6)</div>
<div class="product-meta">
<ul>
<li>16.1 <span class="product-meta-name">megapixels</span></li>
<li>5x <span class="product-meta-name">optical zoom</span></li>
<li>720p <span class="product-meta-name">hd video</span></li>
</ul>
</div>
<div class="product-price">
<span class="muted">Starting at</span>
<br>
<b>$1199.99</b> <span class="muted">MSRP</span>
</div>
</div>
</div>
<div class="span3 product box" data-groups='["lcd", "panorama"]' data-megapixels="14-16" data-price="109">
<div class="product-img">
<img src="/img/master-chief.png" alt="" />
</div>
<div class="product-content">
<div class="product-model">ASDF-1</div>
<div class="product-name">Camera JKLP</div>
<div class="product-rating">***** (10)</div>
<div class="product-meta">
<ul>
<li>16.2 <span class="product-meta-name">megapixels</span></li>
<li>Waterproof <span class="product-meta-name">body</span></li>
<li>Cool <span class="product-meta-name">sensor</span></li>
</ul>
</div>
<div class="product-price">
<span class="muted">Starting at</span>
<br>
<b>$329.99</b> <span class="muted">MSRP</span>
</div>
</div>
</div>
<div class="span6 h2 product box" data-groups='["lcd", "panorama", "lightweight"]' data-megapixels="18-20" data-price="479">
<div class="product-img">
<img src="/img/es-blue.png" alt="" />
</div>
<div class="product-content">
<div class="product-model">ASDF-1</div>
<div class="product-name">Camera JKLP</div>
<div class="product-rating">***** (41)</div>
<div class="product-meta">
<ul>
<li>20.2 <span class="product-meta-name">megapixels</span></li>
<li>3" <span class="product-meta-name">lcd</span></li>
<li>Cool <span class="product-meta-name">sensor</span></li>
</ul>
</div>
<div class="product-price">
<span class="muted">Starting at</span>
<br>
<b>$649.99</b> <span class="muted">MSRP</span>
</div>
</div>
</div>
<div class="span3 product box" data-groups='["lcd", "touchscreen", "lightweight"]' data-megapixels="18-20" data-price="209">
<div class="product-img">
<img src="/img/vestride-red.png" alt="" />
</div>
<div class="product-content">
<div class="product-model">ASDF-1</div>
<div class="product-name">Camera JKLP</div>
<div class="product-rating">***** (6)</div>
<div class="product-meta">
<ul>
<li>16.1 <span class="product-meta-name">megapixels</span></li>
<li>5x <span class="product-meta-name">optical zoom</span></li>
<li>720p <span class="product-meta-name">hd video</span></li>
</ul>
</div>
<div class="product-price">
<span class="muted">Starting at</span>
<br>
<b>$1199.99</b> <span class="muted">MSRP</span>
</div>
</div>
</div>
<div class="span3 product box" data-groups='["touchscreen", "panorama", "lightweight"]' data-megapixels="20+" data-price="2799">
<div class="product-img">
<img src="/img/newegg.png" alt="" />
</div>
<div class="product-content">
<div class="product-model">ASDF-1</div>
<div class="product-name">Camera JKLP</div>
<div class="product-rating">***** (10)</div>
<div class="product-meta">
<ul>
<li>16.2 <span class="product-meta-name">megapixels</span></li>
<li>Waterproof <span class="product-meta-name">body</span></li>
<li>Cool <span class="product-meta-name">sensor</span></li>
</ul>
</div>
<div class="product-price">
<span class="muted">Starting at</span>
<br>
<b>$329.99</b> <span class="muted">MSRP</span>
</div>
</div>
</div>
<div class="span6 link product box" data-groups='["panorama", "lightweight"]' data-megapixels="20+" data-price="329">
<p>Great Summer Travel Loruem Ipsum</p>
<a href="#" class="btn">Products for Summer Vacation</a>
</div>
<div class="span3 product box" data-groups='["lightweight"]' data-megapixels="14-16" data-price="199">
<div class="product-img">
<img src="/img/eightfoldarc.png" alt="" />
</div>
<div class="product-content">
<div class="product-model">ASDF-1</div>
<div class="product-name">Camera JKLP</div>
<div class="product-rating">***** (6)</div>
<div class="product-meta">
<ul>
<li>16.1 <span class="product-meta-name">megapixels</span></li>
<li>5x <span class="product-meta-name">optical zoom</span></li>
<li>720p <span class="product-meta-name">hd video</span></li>
</ul>
</div>
<div class="product-price">
<span class="muted">Starting at</span>
<br>
<b>$1199.99</b> <span class="muted">MSRP</span>
</div>
</div>
</div>
<div class="span3 product box" data-groups='["panorama"]' data-megapixels="14-16" data-price="149">
<div class="product-img">
<img src="/img/ground.png" alt="" />
</div>
<div class="product-content">
<div class="product-model">ASDF-1</div>
<div class="product-name">Camera JKLP</div>
<div class="product-rating">***** (10)</div>
<div class="product-meta">
<ul>
<li>16.2 <span class="product-meta-name">megapixels</span></li>
<li>Waterproof <span class="product-meta-name">body</span></li>
<li>Cool <span class="product-meta-name">sensor</span></li>
</ul>
</div>
<div class="product-price">
<span class="muted">Starting at</span>
<br>
<b>$149.99</b> <span class="muted">MSRP</span>
</div>
</div>
</div>
<div class="span3 product box" data-groups='["lcd"]' data-megapixels="16-18" data-price="789">
<div class="product-img">
<img src="/img/grassy-hills.png" alt="" />
</div>
<div class="product-content">
<div class="product-model">ASDF-1</div>
<div class="product-name">Camera JKLP</div>
<div class="product-rating">***** (10)</div>
<div class="product-meta">
<ul>
<li>16.2 <span class="product-meta-name">megapixels</span></li>
<li>Waterproof <span class="product-meta-name">body</span></li>
<li>Cool <span class="product-meta-name">sensor</span></li>
</ul>
</div>
<div class="product-price">
<span class="muted">Starting at</span>
<br>
<b>$789.99</b> <span class="muted">MSRP</span>
</div>
</div>
</div>
<div class="span3 product box" data-groups='["lcd", "touchscreen"]' data-megapixels="16-18" data-price="529">
<div class="product-img">
<img src="/img/tennis-ball.png" alt="" />
</div>
<div class="product-content">
<div class="product-model">ASDF-1</div>
<div class="product-name">Camera JKLP</div>
<div class="product-rating">***** (10)</div>
<div class="product-meta">
<ul>
<li>16.2 <span class="product-meta-name">megapixels</span></li>
<li>Waterproof <span class="product-meta-name">body</span></li>
<li>Cool <span class="product-meta-name">sensor</span></li>
</ul>
</div>
<div class="product-price">
<span class="muted">Starting at</span>
<br>
<b>$529.99</b> <span class="muted">MSRP</span>
</div>
</div>
</div>
<div class="span3 product box" data-groups='["lcd", "touchscreen"]' data-megapixels="18-20" data-price="999">
<div class="product-img">
<img src="/img/pumpkin.png" alt="" />
</div>
<div class="product-content">
<div class="product-model">ASDF-1</div>
<div class="product-name">Camera JKLP</div>
<div class="product-rating">***** (10)</div>
<div class="product-meta">
<ul>
<li>16.2 <span class="product-meta-name">megapixels</span></li>
<li>Waterproof <span class="product-meta-name">body</span></li>
<li>Cool <span class="product-meta-name">sensor</span></li>
</ul>
</div>
<div class="product-price">
<span class="muted">Starting at</span>
<br>
<b>$529.99</b> <span class="muted">MSRP</span>
</div>
</div>
</div>
<div class="span3 product box" data-groups='["lcd", "touchscreen"]' data-megapixels="20+" data-price="1599">
<div class="product-img">
<img src="/img/imac.png" alt="" />
</div>
<div class="product-content">
<div class="product-model">ASDF-1</div>
<div class="product-name">Camera JKLP</div>
<div class="product-rating">***** (10)</div>
<div class="product-meta">
<ul>
<li>16.2 <span class="product-meta-name">megapixels</span></li>
<li>Waterproof <span class="product-meta-name">body</span></li>
<li>Cool <span class="product-meta-name">sensor</span></li>
</ul>
</div>
<div class="product-price">
<span class="muted">Starting at</span>
<br>
<b>$529.99</b> <span class="muted">MSRP</span>
</div>
</div>
</div>
</div>
</section>
<section>
<div class="container">
<h1>Another section</h1>
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod
tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,
quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo
consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse
cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non
proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod
tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,
quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo
consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse
cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non
proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod
tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,
quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo
consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse
cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non
proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>
</div>
</section>

@ -0,0 +1,108 @@
---
layout: default
title: Shuffle Minimal Demo
bodyClass: null
extraJS: [ "minimal.js" ]
---
<style>
#grid {
outline: 1px solid rgb(255, 255, 255);
outline: 1px solid rgba(255, 255, 255, .7);
}
.simple-item {
width: 33.33333%; /* 3 per row */
}
.simple-item img {
max-width: 100%;
}
/* Spacing Exmaple */
.spacing #grid {
padding: 10px;
}
.spacing .simple-item {
width: 306px;
margin: 10px;
}
/* add some space to the bottom of the document */
.spacer {
padding-bottom: 150px;
}
</style>
<div class="container container-main">
<section>
<h2>Minimal</h2>
<button class="js-spacing">Add some space</button>
<div class="filter clearfix">
<p class="lfloat label">Filter:</p>
<ul class="filter-options control-group lfloat">
<li data-group="all" class="active">Most Recent</li>
<li data-group="wallpaper">Wallpapers</li>
<li data-group="graphics">Graphic Design</li>
<li data-group="photography">Photography</li>
<li data-group="3d">3D Renders</li>
</ul>
</div>
<div id="grid">
<div class="simple-item" data-groups='["photography"]'>
<img src="img/baseball.png" alt="" />
<div><a href="img/originals/baseball.jpg">Photography</a></div>
</div>
<div class="simple-item" data-groups='["wallpaper", "3d"]'>
<img src="img/tennis-ball.png" alt="" />
<div><a href="#">3D Render, Wallpaper</a></div>
</div>
<div class="simple-item" data-groups='["3d", "wallpaper"]'>
<img src="img/imac.png" alt="" />
<div><a href="#">3D Render, Wallpaper</a></div>
</div>
<div class="simple-item" data-groups='["graphics"]'>
<img src="img/master-chief.png" alt="" />
<div><a href="#">Graphic Design</a></div>
</div>
<div class="simple-item" data-groups='["3d", "wallpaper"]'>
<img src="img/es-blue.png" alt="" />
<div><a href="#">3D Render, Wallpaper</a></div>
</div>
<div class="simple-item" data-groups='["photography"]'>
<img src="img/pumpkin.png" alt="" />
<div><a href="#">Photography</a></div>
</div>
<div class="simple-item" data-groups='["3d", "wallpaper"]'>
<img src="img/vestride-red.png" alt="" />
<div><a href="#">3D Render, Wallpaper</a></div>
</div>
<div class="simple-item" data-groups='["graphics"]'>
<img src="img/newegg.png" alt="" />
<div><a href="#">Motion Graphics</a></div>
</div>
<div class="simple-item" data-groups='["wallpaper"]'>
<img src="img/eightfoldarc.png" alt="" />
<div><a href="#">Wallpaper</a></div>
</div>
<div class="simple-item" data-groups='["photography"]'>
<img src="img/ground.png" alt=""/>
<div><a href="img/originals/baseball.jpg">Photography</a></div>
</div>
<div class="simple-item" data-groups='["wallpaper"]'>
<img src="img/grassy-hills.png" alt="" />
<div><a href="#">Wallpaper</a></div>
</div>
<div class="simple-item" data-groups='["3d", "wallpaper"]'>
<img src="img/vestride-classy.png" alt="" />
<div><a href="#">3D Render, Wallpaper</a></div>
</div>
</div>
</section>
</div>
<div class="spacer"></div>

@ -0,0 +1,9 @@
---
layout: default
title: Shuffle Responsive Demo
bodyClass: null
extraJS: []
---
<ul>
<li>Will be <strong><em>fully responsive</em></strong></li>
</ul>

@ -1,430 +0,0 @@
<!DOCTYPE html>
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7" lang="en"> <![endif]-->
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8" lang="en"> <![endif]-->
<!--[if IE 8]> <html class="no-js lt-ie9" lang="en"> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js" lang="en"> <!--<![endif]-->
<head>
<meta charset="utf-8">
<title>Shuffle Responsive Example</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="author" content="https://plus.google.com/u/0/100210640453700033824" />
<link href="http://twitter.github.com/bootstrap/assets/css/bootstrap.css" rel="stylesheet">
<link href="http://twitter.github.com/bootstrap/assets/css/bootstrap-responsive.css" rel="stylesheet">
<link href="css/style.css" rel="stylesheet">
<link href="css/gallery.css" rel="stylesheet">
<link href='http://fonts.googleapis.com/css?family=Poly:400,400italic' rel='stylesheet' type='text/css' />
<!--[if lt IE 9]>
<script src="js/html5shiv.js"></script>
<![endif]-->
</head>
<body class="masonry">
<section class="gallery container">
<div class="hero">
<img src="http://placekitten.com/1170/400" alt="">
<div class="ghost-center-wrap full">
<div class="hero-text ghost-center">
<div>Example</div>
<h1>Responsive bootstrap</h1>
<h2>With compounded filters</h2>
</div>
</div>
</div>
<h2>Filters</h2>
<div class="product-filter">
<div class="filter-options row">
<ul class="span6 unstyled megapixels">
<li data-megapixels="14-16" class="btn">14-16MP</li>
<li data-megapixels="16-18" class="btn">16-18MP</li>
<li data-megapixels="18-20" class="btn">18-20MP</li>
<li data-megapixels="20+" class="btn">20MP+</li>
</ul>
<ul class="span6 unstyled features">
<li>
<label><input type="checkbox" value="lcd"> LCD</label>
</li>
<li>
<label><input type="checkbox" value="touchscreen"> Touchscreen LCD</label>
</li>
<li>
<label><input type="checkbox" value="panorama"> Intelligent Sweep Panorama</label>
</li>
<li>
<label><input type="checkbox" value="lightweight"> Lightweight</label>
</li>
</ul>
</div>
</div>
<div class="products">
<div class="span6 h2 product box" data-groups='["lcd", "lightweight"]' data-megapixels="20+" data-price="649">
<div class="product-img">
<img src="img/baseball.png" alt="" />
</div>
<div class="product-content">
<div class="product-model">ASDF-1</div>
<div class="product-name">Camera JKLP</div>
<div class="product-rating">***** (41)</div>
<div class="product-meta">
<ul>
<li>20.2 <span class="product-meta-name">megapixels</span></li>
<li>3" <span class="product-meta-name">lcd</span></li>
<li>Explore <span class="product-meta-name">sensor</span></li>
</ul>
</div>
<div class="product-price">
<span class="muted">Starting at</span>
<br>
<b>$649.99</b> <span class="muted">MSRP</span>
</div>
</div>
</div>
<div class="span6 product link box" data-groups='["lcd", "touchscreen", "panorama", "lightweight"]' data-megapixels="16-18" data-price="1199">
<p>Massive Sensor Loruem Ipsum</p>
<a href="#" class="btn">Explore Sensor</a>
</div>
<div class="span3 product box" data-groups='["panorama", "lightweight"]' data-megapixels="16-18" data-price="329">
<div class="product-img">
<img src="img/pumpkin.png" alt="" />
</div>
<div class="product-content">
<div class="product-model">ASDF-1</div>
<div class="product-name">Camera JKLP</div>
<div class="product-rating">***** (10)</div>
<div class="product-meta">
<ul>
<li>16.2 <span class="product-meta-name">megapixels</span></li>
<li>Waterproof <span class="product-meta-name">body</span></li>
<li>Cool <span class="product-meta-name">sensor</span></li>
</ul>
</div>
<div class="product-price">
<span class="muted">Starting at</span>
<br>
<b>$329.99</b> <span class="muted">MSRP</span>
</div>
</div>
</div>
<div class="span3 product box" data-groups='["lcd", "lightweight"]' data-megapixels="18-20" data-price="369">
<div class="product-img">
<img src="img/tennis-ball.png" alt="" />
</div>
<div class="product-content">
<div class="product-model">ASDF-1</div>
<div class="product-name">Camera JKLP</div>
<div class="product-rating">***** (41)</div>
<div class="product-meta">
<ul>
<li>20.2 <span class="product-meta-name">megapixels</span></li>
<li>3" <span class="product-meta-name">lcd</span></li>
<li>Cool <span class="product-meta-name">sensor</span></li>
</ul>
</div>
<div class="product-price">
<span class="muted">Starting at</span>
<br>
<b>$649.99</b> <span class="muted">MSRP</span>
</div>
</div>
</div>
<div class="span3 product box" data-groups='["lcd", "touchscreen"]' data-megapixels="18-20" data-price="269">
<div class="product-img">
<img src="img/imac.png" alt="" />
</div>
<div class="product-content">
<div class="product-model">ASDF-1</div>
<div class="product-name">Camera JKLP</div>
<div class="product-rating">***** (6)</div>
<div class="product-meta">
<ul>
<li>16.1 <span class="product-meta-name">megapixels</span></li>
<li>5x <span class="product-meta-name">optical zoom</span></li>
<li>720p <span class="product-meta-name">hd video</span></li>
</ul>
</div>
<div class="product-price">
<span class="muted">Starting at</span>
<br>
<b>$1199.99</b> <span class="muted">MSRP</span>
</div>
</div>
</div>
<div class="span3 product box" data-groups='["lcd", "panorama"]' data-megapixels="14-16" data-price="109">
<div class="product-img">
<img src="img/master-chief.png" alt="" />
</div>
<div class="product-content">
<div class="product-model">ASDF-1</div>
<div class="product-name">Camera JKLP</div>
<div class="product-rating">***** (10)</div>
<div class="product-meta">
<ul>
<li>16.2 <span class="product-meta-name">megapixels</span></li>
<li>Waterproof <span class="product-meta-name">body</span></li>
<li>Cool <span class="product-meta-name">sensor</span></li>
</ul>
</div>
<div class="product-price">
<span class="muted">Starting at</span>
<br>
<b>$329.99</b> <span class="muted">MSRP</span>
</div>
</div>
</div>
<div class="span6 h2 product box" data-groups='["lcd", "panorama", "lightweight"]' data-megapixels="18-20" data-price="479">
<div class="product-img">
<img src="img/es-blue.png" alt="" />
</div>
<div class="product-content">
<div class="product-model">ASDF-1</div>
<div class="product-name">Camera JKLP</div>
<div class="product-rating">***** (41)</div>
<div class="product-meta">
<ul>
<li>20.2 <span class="product-meta-name">megapixels</span></li>
<li>3" <span class="product-meta-name">lcd</span></li>
<li>Cool <span class="product-meta-name">sensor</span></li>
</ul>
</div>
<div class="product-price">
<span class="muted">Starting at</span>
<br>
<b>$649.99</b> <span class="muted">MSRP</span>
</div>
</div>
</div>
<div class="span3 product box" data-groups='["lcd", "touchscreen", "lightweight"]' data-megapixels="18-20" data-price="209">
<div class="product-img">
<img src="img/vestride-red.png" alt="" />
</div>
<div class="product-content">
<div class="product-model">ASDF-1</div>
<div class="product-name">Camera JKLP</div>
<div class="product-rating">***** (6)</div>
<div class="product-meta">
<ul>
<li>16.1 <span class="product-meta-name">megapixels</span></li>
<li>5x <span class="product-meta-name">optical zoom</span></li>
<li>720p <span class="product-meta-name">hd video</span></li>
</ul>
</div>
<div class="product-price">
<span class="muted">Starting at</span>
<br>
<b>$1199.99</b> <span class="muted">MSRP</span>
</div>
</div>
</div>
<div class="span3 product box" data-groups='["touchscreen", "panorama", "lightweight"]' data-megapixels="20+" data-price="2799">
<div class="product-img">
<img src="img/newegg.png" alt="" />
</div>
<div class="product-content">
<div class="product-model">ASDF-1</div>
<div class="product-name">Camera JKLP</div>
<div class="product-rating">***** (10)</div>
<div class="product-meta">
<ul>
<li>16.2 <span class="product-meta-name">megapixels</span></li>
<li>Waterproof <span class="product-meta-name">body</span></li>
<li>Cool <span class="product-meta-name">sensor</span></li>
</ul>
</div>
<div class="product-price">
<span class="muted">Starting at</span>
<br>
<b>$329.99</b> <span class="muted">MSRP</span>
</div>
</div>
</div>
<div class="span6 link product box" data-groups='["panorama", "lightweight"]' data-megapixels="20+" data-price="329">
<p>Great Summer Travel Loruem Ipsum</p>
<a href="#" class="btn">Products for Summer Vacation</a>
</div>
<div class="span3 product box" data-groups='["lightweight"]' data-megapixels="14-16" data-price="199">
<div class="product-img">
<img src="img/eightfoldarc.png" alt="" />
</div>
<div class="product-content">
<div class="product-model">ASDF-1</div>
<div class="product-name">Camera JKLP</div>
<div class="product-rating">***** (6)</div>
<div class="product-meta">
<ul>
<li>16.1 <span class="product-meta-name">megapixels</span></li>
<li>5x <span class="product-meta-name">optical zoom</span></li>
<li>720p <span class="product-meta-name">hd video</span></li>
</ul>
</div>
<div class="product-price">
<span class="muted">Starting at</span>
<br>
<b>$1199.99</b> <span class="muted">MSRP</span>
</div>
</div>
</div>
<div class="span3 product box" data-groups='["panorama"]' data-megapixels="14-16" data-price="149">
<div class="product-img">
<img src="img/ground.png" alt="" />
</div>
<div class="product-content">
<div class="product-model">ASDF-1</div>
<div class="product-name">Camera JKLP</div>
<div class="product-rating">***** (10)</div>
<div class="product-meta">
<ul>
<li>16.2 <span class="product-meta-name">megapixels</span></li>
<li>Waterproof <span class="product-meta-name">body</span></li>
<li>Cool <span class="product-meta-name">sensor</span></li>
</ul>
</div>
<div class="product-price">
<span class="muted">Starting at</span>
<br>
<b>$149.99</b> <span class="muted">MSRP</span>
</div>
</div>
</div>
<div class="span3 product box" data-groups='["lcd"]' data-megapixels="16-18" data-price="789">
<div class="product-img">
<img src="img/grassy-hills.png" alt="" />
</div>
<div class="product-content">
<div class="product-model">ASDF-1</div>
<div class="product-name">Camera JKLP</div>
<div class="product-rating">***** (10)</div>
<div class="product-meta">
<ul>
<li>16.2 <span class="product-meta-name">megapixels</span></li>
<li>Waterproof <span class="product-meta-name">body</span></li>
<li>Cool <span class="product-meta-name">sensor</span></li>
</ul>
</div>
<div class="product-price">
<span class="muted">Starting at</span>
<br>
<b>$789.99</b> <span class="muted">MSRP</span>
</div>
</div>
</div>
<div class="span3 product box" data-groups='["lcd", "touchscreen"]' data-megapixels="16-18" data-price="529">
<div class="product-img">
<img src="img/tennis-ball.png" alt="" />
</div>
<div class="product-content">
<div class="product-model">ASDF-1</div>
<div class="product-name">Camera JKLP</div>
<div class="product-rating">***** (10)</div>
<div class="product-meta">
<ul>
<li>16.2 <span class="product-meta-name">megapixels</span></li>
<li>Waterproof <span class="product-meta-name">body</span></li>
<li>Cool <span class="product-meta-name">sensor</span></li>
</ul>
</div>
<div class="product-price">
<span class="muted">Starting at</span>
<br>
<b>$529.99</b> <span class="muted">MSRP</span>
</div>
</div>
</div>
<div class="span3 product box" data-groups='["lcd", "touchscreen"]' data-megapixels="18-20" data-price="999">
<div class="product-img">
<img src="img/pumpkin.png" alt="" />
</div>
<div class="product-content">
<div class="product-model">ASDF-1</div>
<div class="product-name">Camera JKLP</div>
<div class="product-rating">***** (10)</div>
<div class="product-meta">
<ul>
<li>16.2 <span class="product-meta-name">megapixels</span></li>
<li>Waterproof <span class="product-meta-name">body</span></li>
<li>Cool <span class="product-meta-name">sensor</span></li>
</ul>
</div>
<div class="product-price">
<span class="muted">Starting at</span>
<br>
<b>$529.99</b> <span class="muted">MSRP</span>
</div>
</div>
</div>
<div class="span3 product box" data-groups='["lcd", "touchscreen"]' data-megapixels="20+" data-price="1599">
<div class="product-img">
<img src="img/imac.png" alt="" />
</div>
<div class="product-content">
<div class="product-model">ASDF-1</div>
<div class="product-name">Camera JKLP</div>
<div class="product-rating">***** (10)</div>
<div class="product-meta">
<ul>
<li>16.2 <span class="product-meta-name">megapixels</span></li>
<li>Waterproof <span class="product-meta-name">body</span></li>
<li>Cool <span class="product-meta-name">sensor</span></li>
</ul>
</div>
<div class="product-price">
<span class="muted">Starting at</span>
<br>
<b>$529.99</b> <span class="muted">MSRP</span>
</div>
</div>
</div>
</div>
</section>
<section>
<div class="container">
<h1>Another section</h1>
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod
tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,
quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo
consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse
cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non
proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod
tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,
quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo
consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse
cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non
proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod
tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,
quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo
consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse
cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non
proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>
</div>
</section>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
<script src="http://twitter.github.com/bootstrap/assets/js/bootstrap-button.js"></script>
<script src="js/jquery.shuffle.js"></script>
<script src="js/gallery.js"></script>
</body>
</html>

@ -1,5 +0,0 @@
<!DOCTYPE html>
<ul>
<li>Use the one from the main homepage demo</li>
</ul>

@ -38,6 +38,10 @@ body {
margin: 0 auto;
}
main {
display: block;
}
/*=============================================*\
$General Styles
@ -84,7 +88,7 @@ p strong {
a {
color: #0AAAC8;
text-decoration: none;
-webkit-transition: all 0.2s ease-out;
-moz-transition: all 0.2s ease-out;
-o-transition: all 0.2s ease-out;
@ -120,22 +124,22 @@ header p {margin-top: 0;}
color: #F0F0F0;
padding: 5px 15px;
border: 1px solid #454545;
background-color: #333333;
background-image: -webkit-linear-gradient(top, #333333, #242424);
background-image: -moz-linear-gradient(top, #333333, #242424);
background-image: -ms-linear-gradient(top, #333333, #242424);
background-image: -o-linear-gradient(top, #333333, #242424);
background-image: -webkit-linear-gradient(top, #333333, #242424);
background-image: -moz-linear-gradient(top, #333333, #242424);
background-image: -ms-linear-gradient(top, #333333, #242424);
background-image: -o-linear-gradient(top, #333333, #242424);
background-image: linear-gradient(top, #333333, #242424);
filter: progid:DXImageTransform.Microsoft.gradient(startColorStr='#333333', EndColorStr='#242424');
-webkit-transition: all 0.2s ease-out;
-moz-transition: all 0.2s ease-out;
-ms-transition: all 0.2s ease-out;
-o-transition: all 0.2s ease-out;
transition: all 0.2s ease-out;
filter: progid:DXImageTransform.Microsoft.gradient(startColorStr='#333333', EndColorStr='#242424');
-webkit-transition: all 0.2s ease-out;
-moz-transition: all 0.2s ease-out;
-ms-transition: all 0.2s ease-out;
-o-transition: all 0.2s ease-out;
transition: all 0.2s ease-out;
}
@ -199,16 +203,16 @@ header p {margin-top: 0;}
padding: 5px;
border: 1px solid #454545;
font-size: 12px;
background-color: #333333;
background-image: -webkit-linear-gradient(top, #333333, #242424);
background-image: -moz-linear-gradient(top, #333333, #242424);
background-image: -ms-linear-gradient(top, #333333, #242424);
background-image: -o-linear-gradient(top, #333333, #242424);
background-image: -webkit-linear-gradient(top, #333333, #242424);
background-image: -moz-linear-gradient(top, #333333, #242424);
background-image: -ms-linear-gradient(top, #333333, #242424);
background-image: -o-linear-gradient(top, #333333, #242424);
background-image: linear-gradient(to bottom, #333333, #242424);
filter: progid:DXImageTransform.Microsoft.gradient(startColorStr='#333333', EndColorStr='#242424');
filter: progid:DXImageTransform.Microsoft.gradient(startColorStr='#333333', EndColorStr='#242424');
-webkit-transition: all 0.2s ease-out;
-moz-transition: all 0.2s ease-out;
-o-transition: all 0.2s ease-out;
@ -233,12 +237,12 @@ header p {margin-top: 0;}
.control-group .active {
background-color: #242424;
background-image: -webkit-linear-gradient(top, #242424, #333333);
background-image: -moz-linear-gradient(top, #242424, #333333);
background-image: -ms-linear-gradient(top, #242424, #333333);
background-image: -o-linear-gradient(top, #242424, #333333);
background-image: -webkit-linear-gradient(top, #242424, #333333);
background-image: -moz-linear-gradient(top, #242424, #333333);
background-image: -ms-linear-gradient(top, #242424, #333333);
background-image: -o-linear-gradient(top, #242424, #333333);
background-image: linear-gradient(to bottom, #242424, #333333);
filter: progid:DXImageTransform.Microsoft.gradient(startColorStr='#242424', EndColorStr='#333333');
filter: progid:DXImageTransform.Microsoft.gradient(startColorStr='#242424', EndColorStr='#333333');
}
.control-group li:hover::before {
@ -335,7 +339,7 @@ header p {margin-top: 0;}
}
/* Contain floats: h5bp.com/q */
/* Contain floats: h5bp.com/q */
.clearfix:before, .clearfix:after { content: ""; display: table; }
.clearfix:after { clear: both; }
.clearfix { zoom: 1; }
@ -361,7 +365,7 @@ header p {margin-top: 0;}
display: block;
margin: 0;
}
.home .filter .label {
float: none;
margin: 10px 0 0 0;
@ -383,7 +387,7 @@ header p {margin-top: 0;}
padding-top: 10px;
padding-bottom: 10px;
}
.home .control-group + .control-group {
margin: 10px 0;
}

@ -1,197 +1,172 @@
<!DOCTYPE html>
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7" lang="en"> <![endif]-->
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8" lang="en"> <![endif]-->
<!--[if IE 8]> <html class="no-js lt-ie9" lang="en"> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js" lang="en"> <!--<![endif]-->
<head>
<meta charset="utf-8" />
<title>Shuffle</title>
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta property="og:title" content="jQuery Shuffle Plugin" />
<meta property="og:description" content="Shuffle, categorize, sort, and filter a grid of items" />
<meta property="og:type" content="website" />
<meta property="og:url" content="http://vestride.github.com/Shuffle/" />
<meta property="og:image" content="http://vestride.github.com/Shuffle/img/hero.png" />
<meta property="og:site_name" content="jQuery Shuffle Plugin" />
<meta property="fb:admins" content="771347349" />
<meta name="author" content="https://plus.google.com/u/0/100210640453700033824" />
<link href="https://plus.google.com/u/0/100210640453700033824" rel="author" />
<link rel="stylesheet" href="css/prism.css" />
<link rel="stylesheet" href="css/style.css" />
<link href='http://fonts.googleapis.com/css?family=Poly:400,400italic' rel='stylesheet' type='text/css' />
<!--[if lt IE 9]>
<script src="js/html5shiv.js"></script>
<![endif]-->
</head>
<body class="home">
<div class="container container-main">
<header>
<h1 class="special">Shuffle</h1>
<p>Categorize, sort, and filter a responsive grid of items</p>
</header>
<section class="downloads">
<h2>Downloads</h2>
<a href="js/jquery.shuffle.js">jquery.shuffle.js</a>
<a href="js/jquery.shuffle.min.js">jquery.shuffle.min.js</a>
</section>
<section>
<h2>Example</h2>
<div class="filter clearfix">
<p class="lfloat label">Filter:</p>
<ul class="filter-options control-group lfloat">
<li data-group="all" class="active">Most Recent</li>
<li data-group="wallpaper">Wallpapers</li>
<li data-group="graphics">Graphic Design</li>
<li data-group="photography">Photography</li>
<li data-group="3d">3D Renders</li>
</ul>
<p class="lfloat label">Sort:</p>
<ul class="sort-options control-group lfloat">
<li data-sort class="active">Default</li>
<li data-sort="title">Title</li>
<li data-sort="date-created">Date Created</li>
</ul>
<input class="search label" type="search" placeholder="Search..." />
</div>
---
layout: default
title: jQuery Shuffle Plugin
bodyClass: home
extraJS: [ "homepage.js" ]
---
<div class="container container-main">
<header>
<h1 class="special">Shuffle</h1>
<p>Categorize, sort, and filter a responsive grid of items</p>
</header>
<section class="downloads">
<h2>Downloads</h2>
<a href="js/jquery.shuffle.js">jquery.shuffle.js</a>
<a href="js/jquery.shuffle.min.js">jquery.shuffle.min.js</a>
</section>
<section>
<h2>Example</h2>
<div class="filter clearfix">
<p class="lfloat label">Filter:</p>
<ul class="filter-options control-group lfloat">
<li data-group="all" class="active">Most Recent</li>
<li data-group="wallpaper">Wallpapers</li>
<li data-group="graphics">Graphic Design</li>
<li data-group="photography">Photography</li>
<li data-group="3d">3D Renders</li>
</ul>
<p class="lfloat label">Sort:</p>
<ul class="sort-options control-group lfloat">
<li data-sort class="active">Default</li>
<li data-sort="title">Title</li>
<li data-sort="date-created">Date Created</li>
</ul>
<input class="search label" type="search" placeholder="Search..." />
</div>
<div id="grid" class="clearfix">
<div class="item" data-groups='["photography"]' data-date-created="2010-09-14" data-title="Baseball">
<img src="img/baseball.png" alt="" height="145" width="230" />
<div class="item-details">
<span class="title">Baseball</span>
<a href="img/originals/baseball.jpg">Photography</a>
</div>
</div>
<div class="item w2" data-groups='["wallpaper", "3d"]' data-date-created="2011-08-14" data-title="Tennis">
<p class="rfloat">Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>
<img src="img/tennis-ball.png" alt="" height="145" width="230" />
<div class="item-details">
<span class="title">Tennis</span>
<a href="#">3D Render, Wallpaper</a>
</div>
</div>
<div class="item" data-groups='["3d", "wallpaper"]' data-date-created="2009-05-27" data-title="iMac">
<img src="img/imac.png" alt="" height="145" width="230" />
<div class="item-details">
<span class="title">iMac</span>
<a href="#">3D Render, Wallpaper</a>
</div>
</div>
<div class="item h2" data-groups='["graphics"]' data-date-created="2012-05-14" data-title="Master Chief">
<img src="img/master-chief.png" alt="" height="145" width="230" />
<div class="item-details">
<span class="title">Master Chief</span>
<a href="#">Graphic Design</a>
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod
tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,
quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo
consequat.</p>
</div>
</div>
<div class="item" data-groups='["3d", "wallpaper"]' data-date-created="2012-09-14" data-title="Eightfold">
<img src="img/es-blue.png" alt="" height="145" width="230" />
<div class="item-details">
<span class="title">Eightfold</span>
<a href="#">3D Render, Wallpaper</a>
</div>
</div>
<div class="item w2" data-groups='["photography"]' data-date-created="2012-03-14" data-title="Pumpkin">
<p class="rfloat">Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>
<img src="img/pumpkin.png" alt="" height="145" width="230" />
<div class="item-details">
<span class="title">Pumpkin</span>
<a href="#">Photography</a>
</div>
</div>
<div class="item w2 h2" data-groups='["3d", "wallpaper"]' data-date-created="2012-09-14" data-title="Vestride">
<img src="img/vestride-red.png" alt="" height="145" width="230" />
<div class="item-details">
<span class="title">Vestride</span>
<a href="#">3D Render, Wallpaper</a>
</div>
</div>
<div class="item h2" data-groups='["graphics"]' data-date-created="2012-01-12" data-title="Newegg">
<img src="img/newegg.png" alt="" height="145" width="230" />
<div class="item-details">
<span class="title">Newegg</span>
<a href="#">Motion Graphics</a>
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod
tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,
quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo
consequat.</p>
</div>
</div>
<div class="item" data-groups='["wallpaper"]' data-date-created="2012-01-14" data-title="Arc">
<img src="img/eightfoldarc.png" alt="" height="145" width="230" />
<div class="item-details">
<span class="title">Arc</span>
<a href="#">Wallpaper</a>
</div>
</div>
<div class="item" data-groups='["photography"]' data-date-created="2011-01-14" data-title="Ground">
<img src="img/ground.png" alt="" height="145" width="230"/>
<div class="item-details">
<span class="title">Ground</span>
<a href="img/originals/baseball.jpg">Photography</a>
</div>
</div>
<div class="item w2" data-groups='["wallpaper"]' data-date-created="2011-12-14" data-title="Grass">
<p class="rfloat">Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>
<img src="img/grassy-hills.png" alt="" height="145" width="230" />
<div class="item-details">
<span class="title">Grass</span>
<a href="#">Wallpaper</a>
</div>
</div>
<div class="item" data-groups='["3d", "wallpaper"]' data-date-created="2012-04-14" data-title="Vestride">
<img src="img/vestride-classy.png" alt="" height="145" width="230" />
<div class="item-details">
<span class="title">Vestride</span>
<a href="#">3D Render, Wallpaper</a>
</div>
</div>
<div id="grid" class="clearfix">
<div class="item" data-groups='["photography"]' data-date-created="2010-09-14" data-title="Baseball">
<img src="img/baseball.png" alt="" height="145" width="230" />
<div class="item-details">
<span class="title">Baseball</span>
<a href="img/originals/baseball.jpg">Photography</a>
</div>
</div>
<div class="item w2" data-groups='["wallpaper", "3d"]' data-date-created="2011-08-14" data-title="Tennis">
<p class="rfloat">Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>
<img src="img/tennis-ball.png" alt="" height="145" width="230" />
<div class="item-details">
<span class="title">Tennis</span>
<a href="#">3D Render, Wallpaper</a>
</div>
</div>
<div class="item" data-groups='["3d", "wallpaper"]' data-date-created="2009-05-27" data-title="iMac">
<img src="img/imac.png" alt="" height="145" width="230" />
<div class="item-details">
<span class="title">iMac</span>
<a href="#">3D Render, Wallpaper</a>
</div>
</div>
<div class="item h2" data-groups='["graphics"]' data-date-created="2012-05-14" data-title="Master Chief">
<img src="img/master-chief.png" alt="" height="145" width="230" />
<div class="item-details">
<span class="title">Master Chief</span>
<a href="#">Graphic Design</a>
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod
tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,
quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo
consequat.</p>
</div>
</div>
<div class="item" data-groups='["3d", "wallpaper"]' data-date-created="2012-09-14" data-title="Eightfold">
<img src="img/es-blue.png" alt="" height="145" width="230" />
<div class="item-details">
<span class="title">Eightfold</span>
<a href="#">3D Render, Wallpaper</a>
</div>
</div>
<div class="item w2" data-groups='["photography"]' data-date-created="2012-03-14" data-title="Pumpkin">
<p class="rfloat">Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>
<img src="img/pumpkin.png" alt="" height="145" width="230" />
<div class="item-details">
<span class="title">Pumpkin</span>
<a href="#">Photography</a>
</div>
</div>
<div class="item w2 h2" data-groups='["3d", "wallpaper"]' data-date-created="2012-09-14" data-title="Vestride">
<img src="img/vestride-red.png" alt="" height="145" width="230" />
<div class="item-details">
<span class="title">Vestride</span>
<a href="#">3D Render, Wallpaper</a>
</div>
</section>
<section>
<h2>Other Examples</h2>
<ul>
<li><a href="basic.html">Basic masonry layout</a></li>
<li><a href="minimal.html">The minimal markup with filters</a></li>
<li><a href="adaptive.html">Twitter bootstrap adaptive masonry with compounded filters</a></li>
</ul>
</section>
<section>
<h2>Features</h2>
<ul>
<li>Uses CSS Transitions!</li>
<li>Responsive (try resizing the window!)</li>
<li>Filter items by groups</li>
<li>Items can have multiple groups and be different sizes</li>
<li>Sort items</li>
<li>Advanced filtering method (like searching)</li>
</ul>
</section>
<section>
<h2>Options</h2>
<div>
<p>Settings you can change (these are the defaults)</p>
<pre rel="JavaScript">
</div>
<div class="item h2" data-groups='["graphics"]' data-date-created="2012-01-12" data-title="Newegg">
<img src="img/newegg.png" alt="" height="145" width="230" />
<div class="item-details">
<span class="title">Newegg</span>
<a href="#">Motion Graphics</a>
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod
tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,
quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo
consequat.</p>
</div>
</div>
<div class="item" data-groups='["wallpaper"]' data-date-created="2012-01-14" data-title="Arc">
<img src="img/eightfoldarc.png" alt="" height="145" width="230" />
<div class="item-details">
<span class="title">Arc</span>
<a href="#">Wallpaper</a>
</div>
</div>
<div class="item" data-groups='["photography"]' data-date-created="2011-01-14" data-title="Ground">
<img src="img/ground.png" alt="" height="145" width="230"/>
<div class="item-details">
<span class="title">Ground</span>
<a href="img/originals/baseball.jpg">Photography</a>
</div>
</div>
<div class="item w2" data-groups='["wallpaper"]' data-date-created="2011-12-14" data-title="Grass">
<p class="rfloat">Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>
<img src="img/grassy-hills.png" alt="" height="145" width="230" />
<div class="item-details">
<span class="title">Grass</span>
<a href="#">Wallpaper</a>
</div>
</div>
<div class="item" data-groups='["3d", "wallpaper"]' data-date-created="2012-04-14" data-title="Vestride">
<img src="img/vestride-classy.png" alt="" height="145" width="230" />
<div class="item-details">
<span class="title">Vestride</span>
<a href="#">3D Render, Wallpaper</a>
</div>
</div>
</div>
</section>
<section>
<h2>Other Examples</h2>
<ul>
<li><a href="{% post_url demos/2013-05-01-basic %}">Basic masonry layout</a></li>
<li><a href="{% post_url demos/2013-05-03-minimal %}">The minimal markup with filters</a></li>
<li><a href="{% post_url demos/2013-05-02-adaptive %}">Twitter bootstrap adaptive masonry with compounded filters</a></li>
</ul>
</section>
<section>
<h2>Features</h2>
<ul>
<li>Uses CSS Transitions!</li>
<li>Responsive (try resizing the window!)</li>
<li>Filter items by groups</li>
<li>Items can have multiple groups and be different sizes</li>
<li>Sort items</li>
<li>Advanced filtering method (like searching)</li>
</ul>
</section>
<section>
<h2>Options</h2>
<div>
<p>Settings you can change (these are the defaults)</p>
<pre rel="JavaScript">
<code class="language-javascript">
// Overrideable options
$.fn.shuffle.options = {
@ -202,18 +177,18 @@ $.fn.shuffle.options = {
columnWidth : 0 // can be a function or number or calculated by plugin
};
</code>
</pre>
<p>The easing function is one of <code>'default'</code>, <code>'linear'</code>, <code>'ease-in'</code>, <code>'ease-out'</code>, <code>'ease-in-out'</code>, or <code>'cubic-bezier'</code>.</p>
</div>
<section>
<h2>Usage</h2>
<div>
<h3>The HTML Structure</h3>
<p>The only real important thing here is the <code class="language-markup token attr-name">data-groups</code> attribute. It has to be a <a href="http://jsonlint.com/">valid JSON</a> array of strings.</p>
<pre rel="HTML">
</pre>
<p>The easing function is one of <code>'default'</code>, <code>'linear'</code>, <code>'ease-in'</code>, <code>'ease-out'</code>, <code>'ease-in-out'</code>, or <code>'cubic-bezier'</code>.</p>
</div>
<section>
<h2>Usage</h2>
<div>
<h3>The HTML Structure</h3>
<p>The only real important thing here is the <code class="language-markup token attr-name">data-groups</code> attribute. It has to be a <a href="http://jsonlint.com/">valid JSON</a> array of strings.</p>
<pre rel="HTML">
<code class="language-markup">
&lt;div id="grid"&gt;
&lt;div class="item" data-groups='["photography"]' data-date-created="2010-09-14" data-title="Baseball"&gt;
@ -242,14 +217,14 @@ $.fn.shuffle.options = {
&lt;/div&gt;
&lt;/div&gt;
</code>
</pre>
<h3>How column widths work</h3>
<p>The <code>columnWidth</code> option is used to calculate the column width. This option <strong>can be a function</strong> for responsive layouts. If it's not a function, it uses jQuery's <code class="language-javascript">outerWidth(true)</code> to calculate the column width (this includes margins). If the <code>columnWidth</code> option isn't specified, the width will be the width of the first item.</p>
<h3>A basic setup example</h3>
<p>Sets up the button clicks and runs shuffle</p>
<pre rel="jQuery">
</pre>
<h3>How column widths work</h3>
<p>The <code>columnWidth</code> option is used to calculate the column width. This option <strong>can be a function</strong> for responsive layouts. If it's not a function, it uses jQuery's <code class="language-javascript">outerWidth(true)</code> to calculate the column width (this includes margins). If the <code>columnWidth</code> option isn't specified, the width will be the width of the first item.</p>
<h3>A basic setup example</h3>
<p>Sets up the button clicks and runs shuffle</p>
<pre rel="jQuery">
<code class="language-javascript">
$(document).ready(function(){
@ -270,30 +245,30 @@ $(document).ready(function(){
$('#grid').shuffle();
});
</code>
</pre>
<h3>Events</h3>
<p>These events will be triggered at their respective times: <code>'shrink.shuffle'</code>, <code>'shrunk.shuffle'</code>, <code>'filter.shuffle'</code>, <code>'filtered.shuffle'</code>, and <code>'sorted.shuffle'</code>.</p>
</div>
</section>
</pre>
<section>
<h2>Sorting</h2>
<p>You can order the elements based off a function you supply. In the example above, each item has a <code>data-date-created</code> and <code>data-title</code> attribute. The filter buttons have a <code>data-sort</code> attribute with the value of the item&rsquo;s attribute. Then, with some JavaScript, we can get the correct attribute and provide a function to sort by.</p>
<h3>Events</h3>
<p>These events will be triggered at their respective times: <code>'shrink.shuffle'</code>, <code>'shrunk.shuffle'</code>, <code>'filter.shuffle'</code>, <code>'filtered.shuffle'</code>, and <code>'sorted.shuffle'</code>.</p>
</div>
</section>
<section>
<h2>Sorting</h2>
<p>You can order the elements based off a function you supply. In the example above, each item has a <code>data-date-created</code> and <code>data-title</code> attribute. The filter buttons have a <code>data-sort</code> attribute with the value of the item&rsquo;s attribute. Then, with some JavaScript, we can get the correct attribute and provide a function to sort by.</p>
<pre rel="HTML">
<code class="language-markup">
&lt;li data-sort="title"&gt;Title&lt;/li&gt;
</code>
</pre>
</pre>
<pre rel="HTML">
<pre rel="HTML">
<code class="language-markup">
&lt;div class="item" data-title="Baseball"&gt;&hellip;&lt;/div&gt;
</code>
</pre>
<pre rel="JavaScript">
</pre>
<pre rel="JavaScript">
<code class="language-javascript">
// Sorting options
$('.sort-options li').on('click', function() {
@ -326,29 +301,29 @@ $('.sort-options li').on('click', function() {
$grid.shuffle('sort', opts);
});
</code>
</pre>
</pre>
<p>The <code>opts</code> parameter can contain two properties. <code>reverse</code>, a boolean which will reverse the array. <code>by</code> is a function that is passed the element wrapped in jQuery. In the case above, we&rsquo;re returning the value of the data-date-created or data-title attributes.</p>
<p>Calling sort with an empty object will reset the elements to DOM order.</p>
</section>
<section>
<h2>Advanced Filtering</h2>
<p>The <code>opts</code> parameter can contain two properties. <code>reverse</code>, a boolean which will reverse the array. <code>by</code> is a function that is passed the element wrapped in jQuery. In the case above, we&rsquo;re returning the value of the data-date-created or data-title attributes.</p>
<p>Calling sort with an empty object will reset the elements to DOM order.</p>
</section>
<p>By passing a function to shuffle, you can customize the filtering to your hearts content. Shuffle will iterate over each item in the container and give your function the element wrapped in jQuery and the shuffle instance. Return <code>true</code> to keep the element or <code>false</code> to hide it.</p>
<section>
<h2>Advanced Filtering</h2>
<h3>Example</h3>
<pre rel="JavaScript">
<p>By passing a function to shuffle, you can customize the filtering to your hearts content. Shuffle will iterate over each item in the container and give your function the element wrapped in jQuery and the shuffle instance. Return <code>true</code> to keep the element or <code>false</code> to hide it.</p>
<h3>Example</h3>
<pre rel="JavaScript">
<code class="language-javascript">
// Filters elements with a data-title attribute with less than 10 characters
$('#grid').shuffle(function($el, shuffle) {
return $el.data('title').length &lt; 10;
});
</code>
</pre>
</pre>
<h3>Searching</h3>
<pre rel="JavaScript">
<h3>Searching</h3>
<pre rel="JavaScript">
<code class="language-javascript">
// Advanced filtering
$('.filter .search').on('keyup change', function() {
@ -366,148 +341,64 @@ $('.filter .search').on('keyup change', function() {
});
});
</code>
</pre>
<p>For another example of advanced filters, check out the <a href="responsive.html">compounded filters demo</a>.</p>
</section>
<section>
<h2>Dependencies</h2>
<ul>
<li><a target="_blank" href="http://jquery.com">jQuery</a></li>
<li><a target="_blank" href="http://modernizr.com">Modernizr</a>
<ul>
<li>A custom Modernizr build has been included with the plugin.</li>
<li>If you already have Modernizr on your site, you may delete it.</li>
<li>If you don't know what Modernizr is, leave it!</li>
</ul>
</li>
</ul>
</section>
<section>
<h2>Supported Browsers</h2>
<ul>
<li>Chrome</li>
<li>Firefox</li>
<li>IE 7+</li>
<li>Opera</li>
<li>Safari</li>
</ul>
<p>
Browsers that don't support CSS transitions and transforms <strong>*cough*</strong> IE &lt;= 9 <strong>*cough*</strong> will see a less cool, javascript based version of the effect.
</p>
</section>
<section>
<h2>Links</h2>
<ul>
<li><a href="https://github.com/Vestride/Shuffle">GitHub Repo</a></li>
<li><a href="http://isotope.metafizzy.co/">Inspired by Isotope</a></li>
<li><a href="http://glencheney.com">Me</a></li>
</ul>
</section>
<section>
<h2>Changes</h2>
<ul>
<li>11.3.12 - Replaced layout system with <a href="http://masonry.desandro.com/">masonry</a>. Items can now be different sizes! Added addtional examples.</li>
<li>10.24.12 - Better handling of grid item dimensions. Added a minimal markup page.</li>
<li>9.20.12 - Added <code>destroy</code> method</li>
<li>9.18.12 - Added sorting ability and made plugin responsive. Updated to Modernizr 2.6.2</li>
<li>7.21.12 - Rewrote plugin in more object oriented structure. Added custom events. Updated to Modernizr 2.6.1</li>
<li>7.3.12 - Removed dependency on the css file and now apply the css with javascript</li>
</ul>
</section>
</div>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
<script defer src="js/jquery.shuffle.js"></script>
<script defer src="js/prism.js"></script>
<script>
$(document).ready(function() {
// Set up button clicks
$('.filter-options li').on('click', function() {
var $this = $(this),
$grid = $('#grid');
// Hide current label, show current label in title
$('.filter-options .active').removeClass('active');
$this.addClass('active');
// Filter elements
$grid.shuffle($this.data('group'));
});
// Sorting options
$('.sort-options li').on('click', function() {
var $this = $(this),
$grid = $('#grid'),
sort = $this.data('sort'),
opts = {};
// Hide current label, show current label in title
$('.sort-options .active').removeClass('active');
$this.addClass('active');
// We're given the element wrapped in jQuery
if (sort === 'date-created') {
opts = {
by: function($el) {
return $el.data('date-created');
}
}
} else if (sort === 'title') {
opts = {
by: function($el) {
return $el.data('title').toLowerCase();
}
}
}
// Filter elements
$grid.shuffle('sort', opts);
});
// Advanced filtering
$('.filter .search').on('keyup change', function() {
var val = this.value.toLowerCase();
$('#grid').shuffle(function($el, shuffle) {
// Only search elements in the current group
if (shuffle.group !== 'all' && $.inArray(shuffle.group, $el.data('groups')) === -1) {
return false;
}
var text = $.trim($el.text()).toLowerCase();
return text.indexOf(val) != -1;
});
});
// instantiate the plugin
$('#grid').shuffle();
// Destroy it! o_O
// $('#grid').shuffle('destroy');
// You can subscribe to custom events: shrink, shrunk, filter, filtered, and sorted
$('#grid').on('shrink.shuffle shrunk.shuffle filter.shuffle filtered.shuffle sorted.shuffle layout.shuffle', function(evt, shuffle) {
if ( window.console ) {
console.log(evt.type, shuffle, this);
}
});
});
</script>
</body>
</html>
</pre>
<p>For another example of advanced filters, check out the <a href="responsive.html">compounded filters demo</a>.</p>
</section>
<section>
<h2>Dependencies</h2>
<ul>
<li><a target="_blank" href="http://jquery.com">jQuery</a></li>
<li><a target="_blank" href="http://modernizr.com">Modernizr</a>
<ul>
<li>A custom Modernizr build has been included with the plugin.</li>
<li>If you already have Modernizr on your site, you may delete it.</li>
<li>If you don't know what Modernizr is, leave it!</li>
</ul>
</li>
</ul>
</section>
<section>
<h2>Supported Browsers</h2>
<ul>
<li>Chrome</li>
<li>Firefox</li>
<li>IE 7+</li>
<li>Opera</li>
<li>Safari</li>
</ul>
<p>
Browsers that don't support CSS transitions and transforms <strong>*cough*</strong> IE &lt;= 9 <strong>*cough*</strong> will see a less cool, javascript based version of the effect.
</p>
</section>
<section>
<h2>Links</h2>
<ul>
<li><a href="https://github.com/Vestride/Shuffle">GitHub Repo</a></li>
<li><a href="http://isotope.metafizzy.co/">Inspired by Isotope</a></li>
<li><a href="http://glencheney.com">Me</a></li>
</ul>
</section>
<section>
<h2>Changes</h2>
<ul>
<li>11.3.12 - Replaced layout system with <a href="http://masonry.desandro.com/">masonry</a>. Items can now be different sizes! Added addtional examples.</li>
<li>10.24.12 - Better handling of grid item dimensions. Added a minimal markup page.</li>
<li>9.20.12 - Added <code>destroy</code> method</li>
<li>9.18.12 - Added sorting ability and made plugin responsive. Updated to Modernizr 2.6.2</li>
<li>7.21.12 - Rewrote plugin in more object oriented structure. Added custom events. Updated to Modernizr 2.6.1</li>
<li>7.3.12 - Removed dependency on the css file and now apply the css with javascript</li>
</ul>
</section>
</div>

@ -0,0 +1,75 @@
$(document).ready(function() {
// Set up button clicks
$('.filter-options li').on('click', function() {
var $this = $(this),
$grid = $('#grid');
// Hide current label, show current label in title
$('.filter-options .active').removeClass('active');
$this.addClass('active');
// Filter elements
$grid.shuffle($this.data('group'));
});
// Sorting options
$('.sort-options li').on('click', function() {
var $this = $(this),
$grid = $('#grid'),
sort = $this.data('sort'),
opts = {};
// Hide current label, show current label in title
$('.sort-options .active').removeClass('active');
$this.addClass('active');
// We're given the element wrapped in jQuery
if (sort === 'date-created') {
opts = {
by: function($el) {
return $el.data('date-created');
}
}
} else if (sort === 'title') {
opts = {
by: function($el) {
return $el.data('title').toLowerCase();
}
};
}
// Filter elements
$grid.shuffle('sort', opts);
});
// Advanced filtering
$('.filter .search').on('keyup change', function() {
var val = this.value.toLowerCase();
$('#grid').shuffle(function($el, shuffle) {
// Only search elements in the current group
if (shuffle.group !== 'all' && $.inArray(shuffle.group, $el.data('groups')) === -1) {
return false;
}
var text = $.trim($el.text()).toLowerCase();
return text.indexOf(val) != -1;
});
});
// instantiate the plugin
$('#grid').shuffle();
// Destroy it! o_O
// $('#grid').shuffle('destroy');
// You can subscribe to custom events: shrink, shrunk, filter, filtered, and sorted
$('#grid').on('shrink.shuffle shrunk.shuffle filter.shuffle filtered.shuffle sorted.shuffle layout.shuffle', function(evt, shuffle) {
if ( window.console ) {
console.log(evt.type, shuffle, this);
}
});
});

@ -0,0 +1,41 @@
$(document).ready(function() {
// Set up button clicks
$('.filter-options li').on('click', function() {
var $this = $(this),
$grid = $('#grid');
// Hide current label, show current label in title
$('.filter-options .active').removeClass('active');
$this.addClass('active');
// Filter elements
$grid.shuffle($this.data('group'));
});
// instantiate the plugin
$('#grid').shuffle();
// Add space button
$('.js-spacing').on('click', function() {
var $body = $(document.body);
$body.toggleClass('spacing');
if ( $body.hasClass('spacing') ) {
$(this).text('Remove the spacing');
$('#grid')
.shuffle('destroy')
// you can hide the initial transition if you want
.shuffle({
showInitialTransition: false
});
} else {
$(this).text('Add some space');
$('#grid')
.shuffle('destroy')
.shuffle();
}
});
});

6
js/html5shiv.js vendored

@ -1,8 +1,8 @@
/*
HTML5 Shiv v3.6.2pre | @afarkas @jdalton @jon_neal @rem | MIT/GPL2 Licensed
HTML5 Shiv v3.6.2 | @afarkas @jdalton @jon_neal @rem | MIT/GPL2 Licensed
*/
(function(l,f){function m(){var a=e.elements;return"string"==typeof a?a.split(" "):a}function i(a){var b=n[a[o]];b||(b={},h++,a[o]=h,n[h]=b);return b}function p(a,b,c){b||(b=f);if(g)return b.createElement(a);c||(c=i(b));b=c.cache[a]?c.cache[a].cloneNode():r.test(a)?(c.cache[a]=c.createElem(a)).cloneNode():c.createElem(a);return b.canHaveChildren&&!s.test(a)?c.frag.appendChild(b):b}function t(a,b){if(!b.cache)b.cache={},b.createElem=a.createElement,b.createFrag=a.createDocumentFragment,b.frag=b.createFrag();
a.createElement=function(c){return!e.shivMethods?b.createElem(c):p(c,a,b)};a.createDocumentFragment=Function("h,f","return function(){var n=f.cloneNode(),c=n.createElement;h.shivMethods&&("+m().join().replace(/\w+/g,function(a){b.createElem(a);b.frag.createElement(a);return'c("'+a+'")'})+");return n}")(e,b.frag)}function q(a){a||(a=f);var b=i(a);if(e.shivCSS&&!j&&!b.hasCSS){var c,d=a;c=d.createElement("p");d=d.getElementsByTagName("head")[0]||d.documentElement;c.innerHTML="x<style>article,aside,figcaption,figure,footer,header,hgroup,nav,section{display:block}mark{background:#FF0;color:#000}</style>";
a.createElement=function(c){return!e.shivMethods?b.createElem(c):p(c,a,b)};a.createDocumentFragment=Function("h,f","return function(){var n=f.cloneNode(),c=n.createElement;h.shivMethods&&("+m().join().replace(/\w+/g,function(a){b.createElem(a);b.frag.createElement(a);return'c("'+a+'")'})+");return n}")(e,b.frag)}function q(a){a||(a=f);var b=i(a);if(e.shivCSS&&!j&&!b.hasCSS){var c,d=a;c=d.createElement("p");d=d.getElementsByTagName("head")[0]||d.documentElement;c.innerHTML="x<style>article,aside,figcaption,figure,footer,header,hgroup,main,nav,section{display:block}mark{background:#FF0;color:#000}</style>";
c=d.insertBefore(c.lastChild,d.firstChild);b.hasCSS=!!c}g||t(a,b);return a}var k=l.html5||{},s=/^<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/i,r=/^(?:a|b|code|div|fieldset|h1|h2|h3|h4|h5|h6|i|label|li|ol|p|q|span|strong|style|table|tbody|td|th|tr|ul)$/i,j,o="_html5shiv",h=0,n={},g;(function(){try{var a=f.createElement("a");a.innerHTML="<xyz></xyz>";j="hidden"in a;var b;if(!(b=1==a.childNodes.length)){f.createElement("a");var c=f.createDocumentFragment();b="undefined"==typeof c.cloneNode||
"undefined"==typeof c.createDocumentFragment||"undefined"==typeof c.createElement}g=b}catch(d){g=j=!0}})();var e={elements:k.elements||"abbr article aside audio bdi canvas data datalist details figcaption figure footer header hgroup mark meter nav output progress section summary time video",version:"3.6.2pre",shivCSS:!1!==k.shivCSS,supportsUnknownElements:g,shivMethods:!1!==k.shivMethods,type:"default",shivDocument:q,createElement:p,createDocumentFragment:function(a,b){a||(a=f);if(g)return a.createDocumentFragment();
"undefined"==typeof c.createDocumentFragment||"undefined"==typeof c.createElement}g=b}catch(d){g=j=!0}})();var e={elements:k.elements||"abbr article aside audio bdi canvas data datalist details figcaption figure footer header hgroup main mark meter nav output progress section summary time video",version:"3.6.2",shivCSS:!1!==k.shivCSS,supportsUnknownElements:g,shivMethods:!1!==k.shivMethods,type:"default",shivDocument:q,createElement:p,createDocumentFragment:function(a,b){a||(a=f);if(g)return a.createDocumentFragment();
for(var b=b||i(a),c=b.frag.cloneNode(),d=0,e=m(),h=e.length;d<h;d++)c.createElement(e[d]);return c}};l.html5=e;q(f)})(this,document);

@ -1,170 +0,0 @@
<!DOCTYPE html>
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7" lang="en"> <![endif]-->
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8" lang="en"> <![endif]-->
<!--[if IE 8]> <html class="no-js lt-ie9" lang="en"> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js" lang="en"> <!--<![endif]-->
<head>
<meta charset="utf-8" />
<title>Shuffle - Minimal</title>
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="stylesheet" href="css/style.css" />
<link href='http://fonts.googleapis.com/css?family=Poly:400,400italic' rel='stylesheet' type='text/css' />
<!--[if lt IE 9]>
<script src="js/html5shiv.js"></script>
<![endif]-->
<style>
#grid {
outline: 1px solid rgb(255, 255, 255);
outline: 1px solid rgba(255, 255, 255, .7);
}
.simple-item {
width: 33.33333%; /* 3 per row */
}
.simple-item img {
max-width: 100%;
}
/* Spacing Exmaple */
.spacing #grid {
padding: 10px;
}
.spacing .simple-item {
width: 306px;
margin: 10px;
}
/* add some space to the bottom of the document */
.spacer {
padding-bottom: 150px;
}
</style>
</head>
<body>
<div class="container container-main">
<section>
<h2>Minimal</h2>
<button class="js-spacing">Add some space</button>
<div class="filter clearfix">
<p class="lfloat label">Filter:</p>
<ul class="filter-options control-group lfloat">
<li data-group="all" class="active">Most Recent</li>
<li data-group="wallpaper">Wallpapers</li>
<li data-group="graphics">Graphic Design</li>
<li data-group="photography">Photography</li>
<li data-group="3d">3D Renders</li>
</ul>
</div>
<div id="grid">
<div class="simple-item" data-groups='["photography"]'>
<img src="img/baseball.png" alt="" />
<div><a href="img/originals/baseball.jpg">Photography</a></div>
</div>
<div class="simple-item" data-groups='["wallpaper", "3d"]'>
<img src="img/tennis-ball.png" alt="" />
<div><a href="#">3D Render, Wallpaper</a></div>
</div>
<div class="simple-item" data-groups='["3d", "wallpaper"]'>
<img src="img/imac.png" alt="" />
<div><a href="#">3D Render, Wallpaper</a></div>
</div>
<div class="simple-item" data-groups='["graphics"]'>
<img src="img/master-chief.png" alt="" />
<div><a href="#">Graphic Design</a></div>
</div>
<div class="simple-item" data-groups='["3d", "wallpaper"]'>
<img src="img/es-blue.png" alt="" />
<div><a href="#">3D Render, Wallpaper</a></div>
</div>
<div class="simple-item" data-groups='["photography"]'>
<img src="img/pumpkin.png" alt="" />
<div><a href="#">Photography</a></div>
</div>
<div class="simple-item" data-groups='["3d", "wallpaper"]'>
<img src="img/vestride-red.png" alt="" />
<div><a href="#">3D Render, Wallpaper</a></div>
</div>
<div class="simple-item" data-groups='["graphics"]'>
<img src="img/newegg.png" alt="" />
<div><a href="#">Motion Graphics</a></div>
</div>
<div class="simple-item" data-groups='["wallpaper"]'>
<img src="img/eightfoldarc.png" alt="" />
<div><a href="#">Wallpaper</a></div>
</div>
<div class="simple-item" data-groups='["photography"]'>
<img src="img/ground.png" alt=""/>
<div><a href="img/originals/baseball.jpg">Photography</a></div>
</div>
<div class="simple-item" data-groups='["wallpaper"]'>
<img src="img/grassy-hills.png" alt="" />
<div><a href="#">Wallpaper</a></div>
</div>
<div class="simple-item" data-groups='["3d", "wallpaper"]'>
<img src="img/vestride-classy.png" alt="" />
<div><a href="#">3D Render, Wallpaper</a></div>
</div>
</div>
</section>
</div>
<div class="spacer"></div>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
<script src="js/jquery.shuffle.js"></script>
<script>
$(document).ready(function() {
// Set up button clicks
$('.filter-options li').on('click', function() {
var $this = $(this),
$grid = $('#grid');
// Hide current label, show current label in title
$('.filter-options .active').removeClass('active');
$this.addClass('active');
// Filter elements
$grid.shuffle($this.data('group'));
});
// instantiate the plugin
$('#grid').shuffle();
// Add space button
$('.js-spacing').on('click', function() {
var $body = $(document.body);
$body.toggleClass('spacing');
if ( $body.hasClass('spacing') ) {
$(this).text('Remove the spacing');
$('#grid')
.shuffle('destroy')
// you can hide the initial transition if you want
.shuffle({
showInitialTransition: false
});
} else {
$(this).text('Add some space');
$('#grid')
.shuffle('destroy')
.shuffle();
}
});
});
</script>
</body>
</html>

@ -1,5 +0,0 @@
<!DOCTYPE html>
<ul>
<li>Will be <strong><em>fully responsive</em></strong></li>
</ul>
Loading…
Cancel
Save