Everything’s explained there in the fiddle.
Here, div is toggling below, but what i want is div should toggle upwards and push the above div up.
i.e. the div which is there with text will go up as heading.
Thanks
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.
This should do it for ya: http://jsfiddle.net/JftGd/2/
What I did was wrapped the paragraphs in a div, and added a
.slideToggle()to that div in theclickevent function.Hope this is what you were looking for 🙂