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

Different rotateZ behavior in IE #14

Open
raytri opened this issue Feb 2, 2012 · 0 comments
Open

Different rotateZ behavior in IE #14

raytri opened this issue Feb 2, 2012 · 0 comments

Comments

@raytri
Copy link

raytri commented Feb 2, 2012

I've written a pair of functions that rotate a div back and forth around its center point:

 function graphic_rotate_cw() {
    jQuery("#bg-circles").animate( {
        rotateZ: '+='+.15
    },4000,function(){graphic_rotate_ccw();});
 }

function graphic_rotate_ccw() {
    jQuery("#bg-circles").animate( {
        rotateZ: '-='+.15
    },4000,function(){graphic_rotate_cw();});
}

They work exactly as expected in FF, Chrome and Safari. But in IE7-9, the image rotates around its lower-left corner instead.

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

1 participant