I came across this link flying twitter bird , was just wondering , how does this work.When we scroll the page it flies and when we stop scrolling it rests somewhere.
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.
It is a peace of javascript. Scroling is an event that triggers an action. The script is searching for block-elements on the screen and gets their top-offset. Then an animated gif is moved from its current position to the new position.
No magic, just simple javascript