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

Can not support parent() selector? #52

Open
hh54188 opened this issue Jun 20, 2012 · 4 comments
Open

Can not support parent() selector? #52

hh54188 opened this issue Jun 20, 2012 · 4 comments

Comments

@hh54188
Copy link

hh54188 commented Jun 20, 2012

The plugin only support direct selector? If I use parent() selector ,it will report me a error

@rstacruz
Copy link
Owner

$("#foo").parent().transition({ ... }) should work perfectly. What does your code look like?

@hh54188
Copy link
Author

hh54188 commented Jun 21, 2012

function rotate(id) {
    var parent = $('#' + id + '').parent();
   parent..transition({ rotate: '30deg' }, 300);
}

it report me:Object rotate(0deg) has no method 'setFromString'

@rstacruz
Copy link
Owner

Let me guess.. IE10?

@hh54188
Copy link
Author

hh54188 commented Jun 21, 2012

No, in firefox 13 and chrome 19

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

2 participants