I made this looking at a tutorial but I see no option there to make it work from the right side to the left. I wan’t it to be attached to the right side of the body.
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.
From the jQuery docs:
So it would appear that doing it from side to side, is not an option (with that method), if you’re looking at a tutorial, your easies bet is to just add jQuery UI to your project and use it’s animations methods. That will leave it as easy as:
However, you may want to learn to do it without jQuery UI (yaiii) and it’s not so hard after all. You need to break down what jQuery UI (I assume) is doing, something on the lines of:
On both examples, you need to replace
thiswith your selector for the element you want to animate of course, but since you’re learning I thought I’d point it out.