09.02.2015 Views

DOM Traversal Methods - MarkMail

DOM Traversal Methods - MarkMail

DOM Traversal Methods - MarkMail

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

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

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

—Devo,<br />

“Uncontrollable Urge"<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 />

• 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!