I have a button at the top of my page, that when clicked, changes the height of a div from 40px to 300px and animates with Jquery. Id like to add some more functionality to this button, and I think it will require some if/else statements. (Please refer to the link in the post - and dont mind the ugliness right now ;) )
Logically, (i think) I understand what it needs to do, but I'm not familiar enough with Jquery to achieve it. I'd basically like the link to function like this:
If #info_guide's height = 40px then animate and change height to 300px...
If #info_guide's height = is 300px then animate and change height back to 40px...
Also, everytime the link is clicked, add/remove a class name of ".down" to it
I REALLY appreciate your help.