Dear jqCoder,

i, lame Interaction Designer having fun with jquery, challenge your
coding skills to optimize (and improve?) the code for this effect !

http://www.pixeline.be/test/swap/

This follows up a previous discussion on how to swap visually two
elements in a list so that the clicked one goes to the left and
replaces the first element to the clicked one's position.
I built this code using the non animated approach of using cloning.
(the discussion is here:
http://groups.google.com/group/jquery-en/browse_thread/thread/58e43bb2571b9dc1/03809a461174265e
 )

Note that the visual effect does match the element order in the html
code, which is a neat feature i think.


Happy coding !

-- 
Alexandre

Reply via email to