Hi all, Firstly, loving greensock as it's cutting down my animation dev time considerably and the amount of support on these forums is outstanding. Have run into my first problem with it though.
My tweens are working fine on a hard page load (it's a woocommerce product archive page), but as soon as I start using the Ajax product filters, they stop working. Kinda expected I guess as the DOM is being restructured after the filters have worked. Here's the pen: http://codepen.io/mattdown247/pen/mVKxBq
When you hover over the blue boxes, they just slide down to reveal a Div underneath
Usually I can overcome this in jQuery by using the '.on' method such as:
$(document).on('hover','*selector*',function(){
..... other code in here
});
... But I can't work out how I can integrate a failsafe method like that into my GSAP code. Any help would be greatly appreciated.
Cheers
Matt