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

Proximity animations


Proximity animations, which are usually driven by the position of the mouse pointer relative to an element or series of elements on the page, are an awesome effect. While not suitable on all sites and in all contexts, it can add real flair when used in certain situations.

The effect isn't often very accessible, and pretty much shuts the door on non-mouse users, but it can be implemented as an additional bonus to visitors that are able to make use of it, while at the same time providing other, more accessible forms of interaction.

In this example, we'll create an image scroller that is triggered when the mouse pointer enters its container. The speed that the images will scroll will be determined by the distance of the mouse pointer from the center of the container. Moving the pointer will slow down or speed up the animation accordingly.

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}