DV Team – Filterable Grid

  • All
  • Goalkeepers
  • Defenders
  • Midfielders
  • Attackers

  • Buster Clarence
    Buster Clarence
    Post Type: Video

  • Abe Gerolt
    Abe Gerolt
    Post Type: Image

  • Timotheus Pancrazio
    Timotheus Pancrazio
    Post Type: Gallery

  • Tillo Denis
    Tillo Denis
    Post Type: Image

  • Arthur Max
    Arthur Max
    Post Type: Link

  • Kolman Alden
    Kolman Alden
    Post Type: Video

  • Lincoln Garry
    Lincoln Garry
    Post Type: Quote

  • Otieno Martie
    Otieno Martie
    Post Format: Image

  • Geoffrey Lonnie
    Geoffrey Lonnie
    Post Format: Image

  • Darell Teunis
    Darell Teunis
    Post Format: Gallery

  • Albert Panfilo
    Albert Panfilo
    Post Format: Video

  • Shelby Firmin
    Shelby Firmin
    Post Format: Image

jQuery(document).ready(function () {
“use strict”;
var wookmark;
imagesLoaded(‘#dvteamgrid1834074482’, function () {
wookmark = new Wookmark(‘#dvteamgrid1834074482’, {
itemWidth: 250,
autoResize: true,
resizeDelay: 500,
align: ‘left’,
container: jQuery(‘#dvteamgrid1834074482’),
offset: 20,
outerOffset: 0,
fillEmptySpace: false,
flexibleWidth: ‘100%’
});
setTimeout(function(){
jQuery(“#dvteamgrid1834074482”).css(‘visibility’,’visible’);
jQuery(‘#dvteamgrid1834074482’).find(‘li’).addClass(‘dvgrid-animate’);
}, 500);
});
var $filters = jQuery(‘#dvfilters1834074482 li’);
var onClickFilter = function (event) {
var $item = jQuery(event.currentTarget),
itemActive = $item.hasClass(‘gridactive’);
if (!itemActive) {
$filters.removeClass(‘gridactive’);
itemActive = true;
} else {
itemActive = false;
}
$item.toggleClass(‘gridactive’);
wookmark.filter(itemActive ? [$item.data(‘filter’)] : []);
}
jQuery(‘#dvfilters1834074482’).on(‘click.wookmark-filter’, ‘li’, onClickFilter);
});
jQuery(window).on(‘resize orientationchange’, function () {
“use strict”;
jQuery(‘#dvteamgrid1834074482’).find(‘li’).removeClass(‘dvgrid-animate’);
});

A WordPress.com Website.

Up ↑

%d bloggers like this: