Anyone ever found a jQuery hide() easing function that can go to certain X & Y coordinates? To make it look like it’s being thrown? Because the default hide(“slow”) will go to the top left (I believe), not to a certain position.
Share
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.
Combine two animations together – hide, which changes height and width to 0, and animate change of marginLeft and marginRight to desired value, or maybe make whole new animation, like.
Example one:
HTML:
Javascript:
CSS:
Another example