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 ]
(Update package: HEALD Images)
(Update package: HEALD Images)
 
Line 3: Line 3:
  
 
$(function() {
 
$(function() {
 +
    $('input[value="Has place"] + .filtered-value-option-label').addClass('has-place');
 +
    $('input[value="Has person"] + .filtered-value-option-label').addClass('has-person');
 +
   
 
     $('#resetfilters').click(function() {
 
     $('#resetfilters').click(function() {
 
         location.reload();
 
         location.reload();

Latest revision as of 01:53, August 12, 2021

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

$(function() {
    $('input[value="Has place"] + .filtered-value-option-label').addClass('has-place');
    $('input[value="Has person"] + .filtered-value-option-label').addClass('has-person');
    
    $('#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=41344"

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=41344 (accessed May 26, 2022).

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

National Gallery of Art, Washington