Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Hello. I need help creating a slideshow using javascript and html. The Your slideshow file must meet the following specifications: -----Include the JavaScript in the

Hello.

I need help creating a slideshow using javascript and html. The Your slideshow file must meet the following specifications:

-----Include the JavaScript in the Head section of the HTML file.

-----Declare a new Array object with any name other than season.

-----A global variable is declared and initialized to 0. Use any name other than indx.

-----A global variable is declared and initialized for 3 seconds. Use any name other than timeDelay.

----Use the Image() constructor to preload and cache your images. Each new image object should be assigned to an element of your array. You must use 5 images in your array.

-----Associate your 5 images files to the src property for each element of the array.

-----Define a function to be called when the onMouseOver event handler is triggered when the user moves the mouse onto the image. Name the function anything other than changeSeason(). The images should cycle as long as the users mouse remains on the image.

-----Set up the original image to be replaced from the images in the season array.

-----Make sure that the window objects setTimeout() method will call the necessary function for changing the images every 3 seconds.

-----Define a function to be called when the onMouseOut event is triggered by the mouse moving away from the image. Name the function anything other than stopShow().

-----Clear the setTimeout() method. (3 Points) l. Use the pseudo URL, JavaScript:void(null) to deactivate the link and ensures that if there is a return value from the event, it will be nullified. Because neither of the events returns anything, it suffices to use the protocol as JavaScript.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Handbook Of Relational Database Design

Authors: Candace C. Fleming, Barbara Von Halle

1st Edition

0201114348, 978-0201114348

More Books

Students also viewed these Databases questions

Question

Explain drilling down data on dashboards.

Answered: 1 week ago