My favorites | Sign in
Project Logo
                
New issue | Search
for
| Advanced search | Search tips
Issue 5: Rotate functionality only acts on first element in selected collection
1 person starred this issue and may be notified of changes. Back to list
Status:  New
Owner:  ----
Type-Defect
Priority-Medium


Sign in to add a comment
 
Reported by mattcurtis, Aug 20, 2008
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.
jquery.rotate.1-1.js
2.1 KB   Download
Comment 1 by jamie.jamazon, Oct 30, 2008
i fixed this by wrapping everthing up in a $(this).each()
jquery.rotate.js
2.1 KB   Download
Sign in to add a comment

Hosted by Google Code