Java Script c9 Question 8 (1 point) If you chain animate() methods for an elemen
ID: 3917910 • Letter: J
Question
Java Script c9
Question 8 (1 point)
If you chain animate() methods for an element, the animations are stored in
Question 8 options:
an array
a queue
a sequence
a properties map
Save
Question 9 (1 point)
What does the statement that follows do?
$("#message").delay(10000).fadeOut(2000);
Question 9 options:
Delays the start of the fadeOut() method for 10 seconds
Stores the fadeOut() method in the queue after 10 seconds
Delays the execution of any animations currently in the queue and then executes the animations in the queue in sequence
Executes the fadeOut() method and then delays the execution of other animations in the queue
Save
Question 10 (1 point)
What does the statement that follows do?
$("#current_image").stop(true).animate({ height: "200%", width: "200%" });
Question 10 options:
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.
Save
Question 11 (1 point)
What does the statement that follows do?
$("#current_image").finish().animate({ height: "200%", width: "200%" });
Question 11 options:
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.
Save
Question 12 (1 point)
What does an easing do?
Question 12 options:
Makes it easier to work with effects and animations.
Controls the way an effect or animation is performed.
Controls the animations in a queue.
Makes the speed of an animation slower.
Save
Question 13 (1 point)
Which of the following statements about easings isn’t true?
Question 13 options:
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.
Save
Question 14 (1 point)
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 properties map of the animate() method?
Question 14 options:
The font size of the selected element is increased by 250% and the element is moved right 125 pixels.
The font size of the selected element is increased by 250% and the element is moved left 125 pixels.
The font size of the selected element is changed to 250% of the default and the element is moved right 125 pixels.
The font size of the selected element is increased to 250% of the default and the element is moved left 125 pixels.
Save
Question 15 (1 point)
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?
Question 15 options:
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.
Save
an array
a queue
a sequence
a properties map
Explanation / Answer
Answer 8) a queue
Answer 9) Delays the execution of any animations currently in the queue and then executes the animations in the queue in sequence
Answer 10) Stops the current animation on the selected element, clears the queue for that element, and then executes the animate() method.
Answer 11) Stops the current animation on the selected element and then executes the animate() method.
Answer 12) Controls the way an effect or animation is performed.
Answer 13) You can provide for additional easings by coding a script element for jQuery UI or other plugin libraries.
Answer 14) The font size of the selected element is increased by 250% and the element is moved left 125 pixels.
Answer 15) The first child of each of the selected h2 elements is faded in and then faded out.
Answer 10) Stops the current animation on the selected element, clears the queue for that element, and then executes the animate() method.
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.