News for hackers. Stuff that matters.
Re:JQuery Quicksand plugin by systemtrigger on Wednesday February 17, 2010 @10:59AM (#1131724)
His ajax demo is your first idea: 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>

There are no comments on this comment yet.