[jQuery] toggle min/max effect
Hi,
I'm a bit new to using javascript so please pardon my "newbie-ness".
I'm looking to toggle a div from a minimum height to a maximum height
and back with a click event (e.g., 250px to 500px and back). Has
anybody else been able to achieve this? How would I write this code?
Caveat, the larger size (500px) div should have an overflow:auto
applied to it to allow for lengthly content.
My goal is to show a small ad (250px height) initially and then on a
click, fade out the ad, expand the area, then fade in the content.
Then the reverse on click again.
Suggestions?
Thanks in advance.
Matthew