I want to expand boxes on click.
For some reason, the code doesn’t work.
PS: I also want the expand to be animated, what do you think is the best way to do this ?
Maybe checking for “expand” and then do an .animate ?
Thx
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I assume that you want the header to stay and the content below to expand/collapse.
I think you might want a different approach. jQuery has built in hide() and show(). If you include “fast” or “slow” as arguments, it will add animations.