[jQuery] swap elements visually

[jQuery] swap elements visually


Hello friends,
i would like to achieve the following effect:
given an unordered list of links styled as an horizontal menu. when a link is clicked, it moves to the left-end side of the menu, pushing the other links on its left to the right side of the menu.
All my attempts so far failed miserably. Does someone have an idea on how to make it work? Any suggestion welcome...
Thank you,
Alexandre