Hi,
About me: This is the first day I am trying JSAP. I know using jquery and doing animation. But not expert. I am trying to rotate an element 180 degree, it works perfect using css3 rotation, but using jsap-jquery plugin, it behaves weired. It works for 179 degree and 181 degree. Problem is in 360 degree rotation too - it stays there. The code I used
$('.link2').click(function(){
$('.div2').animate({'transform':'rotate(-180deg)'},3000)
})
I tried the tweenmax way too
$('.link3').click(function(){
var sur = $('.div3');
TweenMax.to(sur, 1.5, {transform:'rotate(180deg)'})
})
again, it works when using other values
is there any way to force the direction, so it rotates the way i want?