I am building a site in Drupal. I want to toggle the height of a div element between 100% and 200px. I have tried the toggle function but it is not supporting two callback functions(confused in this case).
I tried flags that will check the height of div tag and it will set the height as per the current height. Since, I have three div tags with same class and I want this toggle functionality in all three, so this idea also fails in this case.
Also, when the height is changed to 100% it happens without easing effect, when the height is changed to 200px the easing effect works.
.css()
to use.animate()