You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

28 lines
785 B

// MAIN PRODUCT LISTING IMAGE CHANGE
/*imgChange = function (){
if ( device.desktop() ) {
$(document).on({
mouseenter: function(){
$(this).find(".img__2").stop().animate({"opacity": 1});
},
mouseleave: function(){
$(this).find(".img__2").stop().animate({"opacity": 0});
}
}, '.img_change');
}
};
$(window).load( imgChange );*/
$(function() {
if ( device.desktop() ) {
$(document).on({
mouseenter: function() {
$(this).find(".img__2").stop().animate({"opacity": 1});
},
mouseleave: function(){
$(this).find(".img__2").stop().animate({"opacity": 0});
}
}, '.img_change');
}
});