这个演示看起来很简单,当我点击按钮时它只是动画一次。问题是:如何将“destination”再次更改为“source”?(应该有两组项目)
Javascript:
$('#source').quicksand( $('#destination li') );
HTML:
<ul id="source">
<li data-id="iphone">iPhone OS</li>
<li data-id="android">Android</li>
<li data-id="winmo">Windows Mobile</li>
</ul>
<ul id="destination" class="hidden">
<li data-id="macosx">Mac OS X</li>
<li data-id="macos9">Mac OS 9</li>
<li data-id="iphone">iPhone OS</li>
</ul>