dgcollier / jquery-rotate

Automatically exported from code.google.com/p/jquery-rotate
1 stars 0 forks source link

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

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
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 commented 9 years ago
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: