i have 2 divs, the blue one is set to 365px width (this will actually be the page height so i cant pre determine it)
then the grey one i need to count from 0 – 100%
at the moment it counts from 365 to 0
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.
Change the
widthof the css#loading_lineto0and thewidthin theanimateto100.Also see the updated jsfiddle.
=== UPDATE ===
I’ve updated your jsfiddle.
Change your data calculation to
and move it after the onepercent calculation.