Closed pyrsmk closed 13 years ago
sounds reasonable. i'll see what i can do.
in the meantime - technically you can do tweens based on 'em' by using the generic tweener...
var el = document.getElementById('foo')
morpheus.tween(1000, function (pos) {
el.style.fontSize = pos + 'em';
}, null, 100, 200);
You're right, meanwhile I'll use tweens.
Bizarrely, morpheus.tween is undefined.
0.1.6 fixes the morpheus.tween
Woh, really quick, thanks :)
@pyrsmk — fyi: Morpheus has been updated to work with any CSS unit now. Check back on the main readme and see usage notes.
Currently I can't test morpheus totally with ems. But with IE8 (in IETester), it returns me an "invalid call or argument" error.
I'll have a look in the morning
@pyrsmk - i'm not getting that issue. I have it working successfully in IE7,8,9 in native IE's. did you read the usage notes and make sure you're doing it right?
I've no native IE but IETester ones. It means they are more chillies than the natives. My only native versions are IE9 and IE10, which work perfectly with morpheus ;)
It's also working in IETester for me in IE6/7/8/9 (even 'em') — what does your code look like?
It doesn't return me this anymore... Maybe it cames from another library... Respond I think. Sorry for the annoyance ;)
All is in the title :) I can't do animations based on ems and it's very important for responsive designs.