SUPERIOR-PAPERS.COM essay writing company is the ideal place for homework help. If you are looking for affordable, custom-written, high-quality and non-plagiarized papers, your student life just became easier with us. Click the button below to place your order.
Order a Similar Paper Order a Different Paper
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.