3 ms·
This is powerful feature, but the demo example doesn't really give justice to it. There needs to be a good reason to use it. Resorting from name to size of the
by lecha 17y ago
This is powerful feature, but the demo example doesn't really give justice to it. There needs to be a good reason to use it. Resorting from name to size of the file it not it.
For instance:
- Filtering down to a small subset from a large set of visible items. It makes sense to use this effect in case the selected item's representation is zoomed or displays additional detail. The animation indicates that there's a relation between the selection and the larger set. It also gives a clue original distribution of the selected items within the larger set.
Example: Show all facebook connections groupped by country. Then select those that have a particular interest as a list. The animation would give you a clue about geo-distribution of people having the same interest. This clue is an additional information you could not see by simply showing the selection.
- Reordering (eg. promoting) a small set of items in a large set. The animation shows you how far the item travels when it is promoted.
Example: Display the list of tennis players according to their rank at after a given competition. When the user selects the different competition, the list is reordered. The payers who make big jumps attract more attention.
- systemtrigger 17y agoHis ajax demo is your first idea: http://razorjack.net/quicksand/demos/ajax.html http://razorjack.net/quicksand/demos/ajax.html You can use the ajax demo to make your second idea. Like this: $(function(){ $('#load-players a.button').click(function(e){ $.get(($this).attr('href'), function(data) { $('.rank-after').quicksand($(data).find('li')); }); }); }); For each link: event-name.html <ul class="rank-after"> <li data-id="1"><img src="federer.png" /></li> <li data-id="2"><img src="roddick.png" /></li> </ul>