Last active
November 20, 2015 08:33
-
-
Save theStreets93/7a0f968d096e72b391e5 to your computer and use it in GitHub Desktop.
WooCommerce Product Image Flipper Effect Fix - https://wordpress.org/plugins/woocommerce-product-image-flipper/
This file contains 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
jQuery(document).ready(function($){ | |
jQuery( 'ul.products li.pif-has-gallery a:first-child' ).hover( function() { | |
jQuery( this ).find( '.wp-post-image' ).removeClass( 'fadeInDown' ).addClass( 'animated fadeOutUp' ); | |
jQuery( this ).find( '.secondary-image' ).removeClass( 'fadeOutUp' ).addClass( 'animated fadeInDown' ); | |
}, function() { | |
jQuery( this ).find( '.wp-post-image' ).removeClass( 'fadeOutUp' ).addClass( 'fadeInDown' ); | |
jQuery( this ).find( '.secondary-image' ).removeClass( 'fadeInDown' ).addClass( 'fadeOutUp' ); | |
}); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment