Lab6 - JQuery Stop

Link to Lab6


This lab was an addition to the previous lab. This time we are adding three more buttons: a stop, a stop immediately, and a go crazy button. The most familiar of the buttons is the go crazy one because it is just a function that has all the commands of the previous buttons just in a sequence.
For the stop buttons, we are introducing something new: the stop tag in JQuery. The stop buttons do exactly what it says, it stops everything, but it has parameters that dictate how everything is halted. The actual stop command can be represented as " .stop(stopAll, goToEnd)", and a true would replace the two phrases in order for the parameter to be taken into effect. The first parameter, stopAll, halts everything immediately, even if it is in the process of an animation while the second one, goToEnd, speeds up the commands to the end.

Comments

Popular posts from this blog

Lab 23-2: Type Ahead

WBL Workshop 2

Lab7 - Simple Accordion