arteleku_skin/js/grid.js

16 lines
392 B
JavaScript
Raw Permalink Normal View History

2017-12-15 01:06:00 +01:00
(function ($) {
// Store our function as a property of Drupal.behaviors.
Drupal.behaviors.arteleku_skin_search = {
attach: function (context, settings) {
$('.islandora-arteleku-collection').masonry({
// options
itemSelector : '.islandora-arteleku-collection-object > div',
columnWidth : 170,
gutterWidth: 30,
isResizable : true
});
}
};
}(jQuery));