I'm having difficulty with jQuery's $(selector).each()
问题 Example here: http://jsfiddle.net/KyW6c/2/ I have an ordered list. Each list item is a project in my portfolio. I'm writing some jQuery that will move a clicked list item up to the top left of the ordered list. I've accomplished this, but the problem I'm encountering is that the list items below the clicked one are shifting. This code is provided in the fiddle (commented out). The solution I'm attempting to implement will set each list item's position to absolute and left and right to it's