[jQuery] Re: Animate or ToggleClass

2010-01-04 Thread Once
doesn't pick the duration value and it expands/contracts the div very > > harshly, no smooth animation. > > > I've read I can do this with toggling the initial height (232px) with the > > final height (auto) but I don't understand how to state the initial height >

[jQuery] Re: Animate or ToggleClass

2010-01-03 Thread Once
gt; harshly, no smooth animation. > > I've read I can do this with toggling the initial height (232px) with the > final height (auto) but I don't understand how to state the initial height > is different than 0. So it goes from 232px to 0 which is not what I want. > > Al

[jQuery] Re: Animate or ToggleClass

2010-01-02 Thread Once
is div #3 of extended content > > > > > now heres the script > > var $s = jQuery.noConflict(); > $s(function() { >  var obj_extend = $s(". extender"); >  var btn_extend = $s(". extend", obj_extend); >  btn_extend .click(function(e) { >  

[jQuery] Animate or ToggleClass

2010-01-02 Thread Once
ink').click(function() { $s('.portfolioclip').animate({height: auto}); return false; }); Also, tried the "Animate height" and it does work but it doesn't toggle, meaning you can only do it once and it