Can I animate a div using jQuery toggle function
<p>I want to animate a div using jQuery toggle function so I searched Google and found code which I used but it did not work.  Here is the code which I used.</p>

<pre><code>doDiv.toggle(function()
{
return oDiv.animate({ opacity: 'toggle', marginTop:('-' + allChildDivHeight +    'px') }, speed, easing, callback);
},function()
{
 return oDiv.animate({ opacity: 'toggle', marginTop:('-' + (margin_top+allChildDivHeight )+ 'px') }, speed, easing, callback);
});
</code></pre>

<p>What is wrong in the above script?  Need some help.  Thanks.</p>
