I have a list. When the user performs an action, I want to replace the entire contents of the list, but present it as if the new list data is moving from right to left, while the old list data is shifted to the left. Example:
<ul id='content'>
<li>red</li>
<li>green</li>
</ul>
now when the user clicks the button, for example, I will have a new list:
<ul id='content'>
<li>yellow</li>
<li>purple</li>
</ul>
I'm not sure how I could move all the old li elements from left to right, the jquery-ui hide + slide effect seems to be what I want:
http://jqueryui.com/demos/hide/
show + slide, , . , ? , , ,