News for hackers. Stuff that matters.
Re:JQuery Quicksand plugin by threepointone on Wednesday February 17, 2010 @04:21AM (#1131202)
This is pretty cool. I did a similar thing at my last job with this site - http://www.idiom.co.in
Re:JQuery Quicksand plugin by lecha on Wednesday February 17, 2010 @10:02AM (#1131612)
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.

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>
Re:JQuery Quicksand plugin by boundlessdreamz on Wednesday February 17, 2010 @03:04AM (#1131130)
Amazing. The animations are so smooth. It is almost addictive to watch the animations :)
Re:JQuery Quicksand plugin by bd on Wednesday February 17, 2010 @09:17AM (#1131536)
The animations are so smooth.

Unfortunately not in Firefox, at least for me (FF3.6 / Win7).

Especially this test was horrible:

http://razorjack.net/quicksand/demos/one-set-clone.html

Chrome, Safari and Opera performed much better. Even Explorer had smooth animation, though alpha-channel transparency animation there is broken.

Re:JQuery Quicksand plugin by boundlessdreamz on Wednesday February 17, 2010 @10:19AM (#1131641)
oh. On chrome mac it is very smooth. On Firefox 3.6 Mac, sometimes the "rearranging objects" feels non-smooth.
Re:JQuery Quicksand plugin by bd on Wednesday February 17, 2010 @11:38AM (#1131812)
Rearranging is quite fine, it's crossfade and zoom that is very jerky on my notebook.

I suspect it could be something about transparencies.

Firefox has long tradition of slowdowns when dealing with alpha-channel transparency, especially when compositing multiple transparent layers (also this demo uses "text-shadow" CSS property which puts additional load on renderer).

Re:JQuery Quicksand plugin by psadauskas on Wednesday February 17, 2010 @11:28AM (#1131797)
Its smooth for me, FF3.5/Win7. I can't tell any difference between it and Chrome
Re:JQuery Quicksand plugin by bd on Wednesday February 17, 2010 @12:52PM (#1131977)
I just tested FF3.5.7 and it's noticeably smoother than FF3.6.
Re:JQuery Quicksand plugin by GrandMasterBirt on Wednesday February 17, 2010 @01:17PM (#1132049)
Wow, would have never thought! Take that optimization!
Re:JQuery Quicksand plugin by GrandMasterBirt on Wednesday February 17, 2010 @01:16PM (#1132044)
Slow for me: FF 3.6 / Ubuntu
Re:JQuery Quicksand plugin by nym on Wednesday February 17, 2010 @01:33PM (#1132092)
Nice, but how many items can it handle without getting choppy? I see 13 items in that demo. Can it do 30? 50?

I worked on a large project that attempted to do this for new cars, which is a slightly larger dataset, and in the end we went with Flex because it had much of the functionality built in, and could do the animations much more smoothly.

Check it out: http://www.newcars.com/carchooser#6

Try clicking on "Price" in the left hand nav, and then moving the slider.

Re:JQuery Quicksand plugin by adamilardi on Wednesday February 17, 2010 @12:34PM (#1131931)
WOW maybe that can go on the Ipad
Re:JQuery Quicksand plugin by al_james on Wednesday February 17, 2010 @04:03AM (#1131184)
Hmmmm... does require the addition of a non-standard attribute ("data-id") to the HTML/XHTML... so it will be invalid... Shame that cant be done with class names. E.g. class="data-id-macos".
Re:JQuery Quicksand plugin by rossriley on Wednesday February 17, 2010 @04:15AM (#1131197)
Yes, that's a standard and valid HTML5 attribute.
Re:JQuery Quicksand plugin by al_james on Wednesday February 17, 2010 @05:51AM (#1131282)
Oh is it? Whoops!
Re:JQuery Quicksand plugin by nostrademons on Thursday February 18, 2010 @04:38AM (#1133805)
Re:JQuery Quicksand plugin by hbien on Wednesday February 17, 2010 @04:09AM (#1131190)
I think it's fine moving forward towards HTML5.
Re:JQuery Quicksand plugin by OmarIsmail on Wednesday February 17, 2010 @12:05PM (#1131879)
In the docs there's a parameter for attribute. From the docs it seems like you can use this param to replace the data-id with an XHTML valid attribute.
Re:JQuery Quicksand plugin by cheald on Wednesday February 17, 2010 @04:12AM (#1131195)
I'm almost positive you could use jQuery's data functionality to modify that out.
Re:JQuery Quicksand plugin by lambdom on Wednesday February 17, 2010 @10:42AM (#1131681)
The website design is great too. Congrats.
Re:JQuery Quicksand plugin by gojomo on Wednesday February 17, 2010 @03:07AM (#1131136)
Love it. Thank you, razorjack -- need this for an upcoming project and thought I'd have to piece it together myself from other animation primitives.
Re:JQuery Quicksand plugin by al_james on Wednesday February 17, 2010 @10:11AM (#1131630)
Anyone know of a mootools equivalent?
Re:JQuery Quicksand plugin by martincrow on Wednesday February 17, 2010 @06:09AM (#1131301)
Ya its really work..
Re:JQuery Quicksand plugin by go2startup on Wednesday February 17, 2010 @06:57AM (#1131341)
great plugin but still wondering how useful it will be
Re:JQuery Quicksand plugin by RedWolves on Wednesday February 17, 2010 @08:14AM (#1131428)
Heard about this plugin on last weeks jQuery Podcast.
Re:JQuery Quicksand plugin by csomar on Wednesday February 17, 2010 @12:16PM (#1131900)
The design is terrible

I mean it's VERY VERY nice :D

Re:JQuery Quicksand plugin by timinman on Wednesday February 17, 2010 @07:49AM (#1131397)
LOL! That's pretty cool, 'Google Pokemon'.
Re:JQuery Quicksand plugin by timinman on Wednesday February 17, 2010 @07:45PM (#1133086)
So did I get downgraded for using 'cool', or or 'LOL', or just for laughing at the Pokemon joke in the demo?
Re:JQuery Quicksand plugin by jdee on Wednesday February 17, 2010 @03:59AM (#1131181)
I thought I couldnt love jQuery more than I do until I saw this.