animate {'height': 'toggle'}
hi,
I display a non-displayed list-element (
display:none
) with animate({'height': 'toggle'}). that works nice so far, but I use the
animate-enhanced plugin, what converts animations automatically into CSS transitions. And the plugin can't convert my animation because of the toggle-keyword.
Would it be possible to write the functionality of the toggle-keyword without using toggle? It seems like toggle induces s.t. doing before the animation starts an s.t. after it ends. but what?
best,
heinetz