02.06.2013 Views

DOM Traversal Methods

DOM Traversal Methods

DOM Traversal Methods

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

It's got style, it's got class<br />

—Devo,<br />

“Uncontrollable Urge"<br />

Effect <strong>Methods</strong><br />

In this chapter, we'll closely examine each of the effect methods, revealing all of the<br />

mechanisms jQuery has for providing visual feedback to the user.<br />

Pre-Packaged Effects<br />

These methods allow us to quickly apply commonly used effects with a<br />

minimum configuration.<br />

.show()<br />

Displays the matched elements.<br />

.show([speed][, callback])<br />

Parameters<br />

• speed (optional): A string or number determining how long the animation<br />

will run<br />

•<br />

callback (optional): A function to call once the animation is complete

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

Saved successfully!

Ooh no, something went wrong!