Search icon
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
jQuery 1.4 Animation Techniques: Beginners Guide

You're reading from  jQuery 1.4 Animation Techniques: Beginners Guide

Product type Book
Published in Mar 2011
Publisher Packt
ISBN-13 9781849513302
Pages 344 pages
Edition 1st Edition
Languages
Concepts

Table of Contents (19) Chapters

jQuery 1.4 Animation Techniques Beginner's Guide
Credits
Foreword
About the Author
About the Reviewers
www.PacktPub.com
Preface
1. Introduction 2. Fading Animations 3. Managing Animations 4. Sliding Animations 5. Custom Animations 6. Extended Animations with jQuery UI 7. Full Page Animations 8. Other Popular Animations 9. CSS3 Animations 10. Canvas Animations Pop Quiz Answers Index

Using effects with show and hide logic


Some of the jQuery UI effects can also be used in conjunction with jQuery's show(), hide(), and toggle() methods when showing or hiding logic is required. In fact, some of the effects are better suited to this method of execution.

The blind effect

The blind effect is the perfect example of an effect that is usually best used with show/hide logic as opposed to the standard effect API. Although the blind effect will work with the standard effect API, what will happen is that the effect will run according to its default mode, but then the element will be put back into its original state. This is true for all effects that have a mode configuration option.

Configuration options

The blind effect has the following configuration options:

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime}

Option

Default

Usage

direction

"vertical"

Sets the axis along which the target element is shown or hidden.

mode

"hide"

Sets whether the element is shown or hidden when used with the effect() method. Other possible...