Getting a Tree Effect with jQuery
<p>I have this code </p>

<pre><code>$('.children a:first').css({'top':'0px','left':'100px'});
$('.children a:eq(1)').css({'top':'20px','left':'120px'});
$('.children a:eq(2)').css({'top':'40px','left':'140px'});
$('.children a:last').css({'top':'60px','left':'160px'});
</code></pre>

<p>Is it possible to change this into a function and specify the offset? Trying to figure out if i can do something that will loop through each "a" element under .children and double the top and left properties.</p>
