Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

emile('test', 'opacity: 0'); // doesn't work #9

Open
ded opened this issue Apr 19, 2011 · 4 comments
Open

emile('test', 'opacity: 0'); // doesn't work #9

ded opened this issue Apr 19, 2011 · 4 comments

Comments

@ded
Copy link

ded commented Apr 19, 2011

sort of a major use-case for animation. this basically doesn't work in <= IE8
i tried taking a stab at this in a branch, but having a hard time parsing out what some of this code means.

@beastaugh
Copy link

Isn't this just down to the fact that old versions of IE don't support the opacity property, but use filter instead?

@ded
Copy link
Author

ded commented Apr 20, 2011

correct. but you can't just do this:

emile('test', 'filter:alpha(opacity=0);')

the émile parser won't know what to do with the value alpha(opacity=0) since it's not an enumerable number like opacity:0.

@kangax
Copy link

kangax commented Apr 20, 2011

Fixed this a while back — kangax@bec75a4 Pull if you want. There's also a couple more somewhat related commits after that one.

@zorker
Copy link

zorker commented Jan 18, 2012

Did this aswell. Plus animation direction processing. (Stoping animation if the direction changes)
https://github.com/zorker/emile/blob/master/emile.js

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants