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

Rotate functionality only acts on first element in selected collection #5

Open
GoogleCodeExporter opened this issue Apr 13, 2016 · 1 comment

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. Select multiple elements with the $ selector (for instance, $(".myclass")



What is the expected output? What do you see instead?

Since the rotate function only operates on the first element returned, not
all elements in the selected group would rotate.

What version of the product are you using? On what operating system?

1.1, Windows XP, Firefox 3

Please provide any additional information below.

I've attached a revised version of the 1.1 script that iterates through
each item in the collection and performs a rotation on each of them.  Feel
free to incorporate this code into the next version.

Original issue reported on code.google.com by mattcur...@gmail.com on 20 Aug 2008 at 2:48

Attachments:

@GoogleCodeExporter
Copy link
Author

i fixed this by wrapping everthing up in a $(this).each()

Original comment by jamie.ja...@gmail.com on 30 Oct 2008 at 3:36

Attachments:

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

No branches or pull requests

1 participant