02.06.2013 Views

jQuery 1.4 Animation Techniques - Index of

jQuery 1.4 Animation Techniques - Index of

jQuery 1.4 Animation Techniques - Index of

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Managing <strong>Animation</strong>s<br />

Running this code produces the following output:<br />

The code shown in the previous screenshot won't make much sense to the casual observer<br />

as it's been minified, but it's the contents <strong>of</strong> <strong>jQuery</strong>'s fadeout() method.<br />

Pop quiz – viewing the queue<br />

1. What is the easiest way <strong>of</strong> determining the number <strong>of</strong> functions in the queue?<br />

a. Using the length() method<br />

b. Using the length property<br />

c. Counting them in Firebug<br />

d. By looking at the effectsLeftToRun property <strong>of</strong> the animated element's<br />

fx queue<br />

[ 60 ]

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!