I have a similar problem like This
I want to animate a div, to a css property of 100% height.
This doesnt seem to work:
$("#somediv").css('height', '100%');
Is there a way to solve this other than slidedown/up?
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.
You can use the parent height like this:
Or put an id on the div you can get the height
if you want to animate it: