JSFiddle - React, Tailwind, and code Playground
by yijiang
HTML
<link rel="stylesheet" href="http://dl.dropbox.com/u/1722364/jsfiddle.css">
<ul id="main-projects">
<li>Child 1</li>
<li>Child 2</li>
<li>Child 3</li>
<li>Child 4</li>
<li>Child 5</li>
</ul>
JavaScript
$('#main-projects li').toggle(function() {
$(this).css('cursor', 'pointer').prependTo('#main-projects');
}, function() {
//Haven't written callback yet, no worries.
});