Question: What does the statement that follows do? $(#current_image).stop(true).animate({ height: 200%, width: 200% }); (1pts) Stops the current animation on the selected element and then executes

What does the statement that follows do? $("#current_image").stop(true).animate({ height: "200%", width: "200%" });

(1pts)

Stops the current animation on the selected element and then executes the animate() method.

Completes the current animation on the selected element and then executes the animate() method.

Completes all animations for the selected element immediately, clears the queue for that element, and then executes the animate() method.

Stops the current animation on the selected element, clears the queue for that element, and then executes the animate() method.

2)

What does the statement that follows do? $("#current_image").finish().animate({ height: "200%", width: "200%" });

(1pts)

Stops the current animation on the selected element and then executes the animate() method.

Completes the current animation on the selected element and then executes the animate() method.

Completes all animations for the selected element immediately, clears the queue for that element, and then executes the animate() method.

Stops the current animation on the selected element, clears the queue for that element, and then executes the animate() method.

3)

To execute code after a jQuery effect has finished, you can use

(1pts)

a callback function

a global function

a local function

a parameterless function

4)

When you use the animate() method, what must you code to define the animation?

(1pts)

a properties map

a callback function

a duration parameter

CSS properties

5)

To start and stop a slide show, you must do all but one of the following. Which one is it?

(1pts)

Code a function expression for running the slide show

Code an event handler for the click event of the slides

Call the setInterval() method to start the slide show

Call the clearInterval() method to stop the slide show

6)

Code example 9-1 $("#faqs h1").animate( { fontSize: "250%", left: "+=125" }, 3000, function() { $("#faqs h2").next().fadeIn(1000).fadeOut(1000); } );

(Refer to code example 9-1) What animation is performed by the callback function of the animate() method?

(1pts)

The sibling that follows each of the selected h2 elements is faded in and then faded out.

The sibling of each h2 element that is a child of the h1 element is faded in and then faded out.

The first child of each of the selected h2 elements is faded in and then faded out.

The first child of each of the selected h2 elements that is a child of the h1 element is faded in and then faded out.

7)

You use the animate() method to

(1pts)

determine how an effect is performed on selected elements

start or stop an animation on selected elements

display or hide selected elements

change CSS properties for selected elements

8)

Which of the following statements about easings isnt true?

(1pts)

jQuery provides just two easings.

The default easing moves an animation at a uniform speed.

You can provide for additional easings by coding a script element for jQuery UI or other plugin libraries.

You identify the easing you want to use by coding it as a parameter for an effect or animation.

9)

You use the basic jQuery methods for effects to

(1pts)

determine how an effect is performed on selected elements

start or stop an animation on selected elements

display or hide selected elements

change CSS properties for selected elements

10)

When you use the animate() method, what must you code to determine how long the animation will last?

(1pts)

a properties map

a callback function

a duration parameter

CSS properties

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!