I am trying to use min-height with jQuery.animate like this:
$insert.animate({ min-height : 52 }, 1000).animate({ opacity : 1 }, 1000);
but it breaks the script. If i use height : 52 it works. Any ideas?
edit: see demo
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.
Try wrapping
min-heightin quotes:I should add: I’m assuming
$insertis a pointer to a block element, i.e.$insert = $('#insert'), where#insertis an HTML element withdisplay: block. I tried my solution in JSFiddle too.