Javascript Animation Lab Project
Javascript Animation Lab Project
Part #1: Change Vertical Position of Image
Using the automation example from TutorialsPoint as a start, add a moveDown() function that will automatically move the image down by 10 pixels every 20 ms. Modify the stop() function to set the top value to zero pixels in addition to the left value.
Part #2: Reset image as it scrolls off the page
Modify the moveRight() function to reset the image to the left margin of the page (zero pixels) when it scrolls off the right edge. Modify the moveDown() function to reset the image to the top margin of the page (zero pixels) when it scrolls off the bottom edge.
"You need a similar assignment done from scratch? Our qualified writers will help you with a guaranteed AI-free & plagiarism-free A+ quality paper, Confidentiality, Timely delivery & Livechat/phone Support.
Discount Code: CIPD30
Click ORDER NOW..


