Created
June 9, 2017 16:44
-
-
Save ckschmieder/b3f72dff5cde14d25e15b9add28acda6 to your computer and use it in GitHub Desktop.
Select images based on src and change visibility to hidden or to another src.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$( 'img[src="/images/product_overlay.png"]' ).css( "visibility", "hidden" ); | |
$( 'img[src="/images/product_overlay.png"]' ).attr( "src", "http://cdn.agilitycms.com/polaroid/products/Polaroid.com-hover-transparent.png" ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment