Is it possible to slide a div up (closing it) but not completely ?
I mean, slide up but leave a little of that div displayed, is that possible ?
Thanks in advance,
mem
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.
Something like this may work:
Instead of the
500pxit can just be the original size of the div, and the30pxcan be however much you want to show when it’s meant to be hidden.Update from the comments
Here’s a fiddle showing that it can allow different heights if declared in a variable. And fading out after animation shouldn’t be a problem.
http://jsfiddle.net/Skooljester/HdQSX/