tweenjs / tween.js

JavaScript/TypeScript animation engine
https://tweenjs.github.io/tween.js/
Other
9.83k stars 1.41k forks source link

Having IE9 Problems / Yes, he's still kicking. #230

Closed leolo69 closed 8 years ago

leolo69 commented 8 years ago

First of all. Great Tweening-Engine! I'm normally using GASP but as filesize is unfortunately a great issue in banner production i did some searching and stumbled upon Tween.js. I was so happy and still am. Sadly i came across a problem i can't seem to solve on my own. crossbrowsertesting did show a problem in ie9 (hate this guy but clients still want him included). i integrated your last uncompressed Tween.js version but nothing happens.

here's my codepen. maybe i'm just missing the obvious. Thanks ind advance. alex

http://codepen.io/leolo/pen/RWLyow

leolo69 commented 8 years ago

I found the solution. Inserting "style.msTransform = transform;" does the magic.

thednp commented 8 years ago

You can check my kute.js if you're interested in size and simplicity, it's a fork of tween.js and with this var tween = KUTE.fromTo('selector', fromValues, toValues, options);

you don't mind about browsers or doing the onUpdate() or animate() function everytime for every tween.

leolo69 commented 8 years ago

thanks, this sounds interesting .. i'll have a look!

sole commented 8 years ago

Nice @thednp!

Closing as resolved