I have a web page which brings another page by sliding from the top… I have achieved this using jquery animate… Now my query is how can i know the percentage of progress of animate() method… Like from the page starts sliding to its completion
Thanks
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
step-callback, which you pass in the animation options to execute a function on every step. You could look into that.EDIT
@Rocket made a demo.