A Project of the Center for Advanced Study in the Visual Arts, National Gallery of Art
History of Early American Landscape Design

Difference between revisions of "MediaWiki:HealdImageCollection.js"

[http://www.nga.gov/content/ngaweb/research/casva/research-projects.html A Project of the National Gallery of Art, Center for Advanced Study in the Visual Arts ]
(Install package: HEALD Images)
 
(Update package: HEALD Images)
Line 1: Line 1:
 
// Adds responsive columns to the SMW filtered format output for the ImageCollection
 
// Adds responsive columns to the SMW filtered format output for the ImageCollection
 
$('.heald-collection .filtered-views-container').addClass('card-columns');
 
$('.heald-collection .filtered-views-container').addClass('card-columns');
 +
 +
$(function() {
 +
    $('#resetfilters').click(function() {
 +
        location.reload();
 +
    });
 +
    $('#reset-wrapper').detach().appendTo('.filtered-filters');
 +
});

Revision as of 22:03, August 11, 2021

// Adds responsive columns to the SMW filtered format output for the ImageCollection
$('.heald-collection .filtered-views-container').addClass('card-columns');

$(function() {
    $('#resetfilters').click(function() {
        location.reload();
    });
    $('#reset-wrapper').detach().appendTo('.filtered-filters');
});

Retrieved from "https://heald.nga.gov/mediawiki/index.php?title=MediaWiki:HealdImageCollection.js&oldid=41331"

History of Early American Landscape Design contributors, "MediaWiki:HealdImageCollection.js," History of Early American Landscape Design, , https://heald.nga.gov/mediawiki/index.php?title=MediaWiki:HealdImageCollection.js&oldid=41331 (accessed July 3, 2022).

A Project of the Center for Advanced Study in the Visual Arts

National Gallery of Art, Washington