JQuery 1. 4 Animation Techniques - Wellman_ Dan.pdf

(7802 KB) Pobierz
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
842234145.019.png
jQuery 1.4 Animation Techniques
Beginner's Guide
Quickly master all of jQuery's animaion methods and build
a toolkit of ready-to-use animaions using jQuery 1.4
Dan Wellman
BIRMINGHAM - MUMBAI
842234145.020.png 842234145.021.png 842234145.022.png 842234145.001.png 842234145.002.png 842234145.003.png 842234145.004.png 842234145.005.png 842234145.006.png 842234145.007.png 842234145.008.png 842234145.009.png 842234145.010.png 842234145.011.png 842234145.012.png 842234145.013.png 842234145.014.png
jQuery 1.4 Animation Techniques
Beginner's Guide
Copyright © 2011 Packt Publishing
All rights reserved. No part of this book may be reproduced, stored in a retrieval system,
or transmited in any form or by any means, without the prior writen permission of the
publisher, except in the case of brief quotaions embedded in criical aricles or reviews.
Every efort has been made in the preparaion of this book to ensure the accuracy of the
informaion presented. However, the informaion contained in this book is sold without
warranty, either express or implied. Neither the author, nor Packt Publishing, and its dealers
and distributors will be held liable for any damages caused or alleged to be caused directly
or indirectly by this book.
Packt Publishing has endeavored to provide trademark informaion about all of the
companies and products menioned in this book by the appropriate use of capitals.
However, Packt Publishing cannot guarantee the accuracy of this informaion.
First published: March 2011
Producion Reference: 1140311
Published by Packt Publishing Ltd.
32 Lincoln Road
Olton
Birmingham, B27 6PA, UK.
ISBN 978-1-849513-30-2
www.packtpub.com
Cover Image by Filippo ( Filosarti@tiscali.it )
Credits
Author
Dan Wellman
Editorial Team Leader
Akshara Aware
Reviewers
Shaiful Islam
Ben Nadel
Cyril Pierron
Project Team Leader
Priya Mukherji
Project Coordinator
Sneha Harkut
Acquisiion Editor
Sarah Cullington
Proofreader
Aaron Nash
Development Editor
Roger D'souza
Producion Coordinator
Melwyn D'sa
Technical Editor
Conrad Sardinha
Cover Work
Melwyn D'sa
Indexer
Hemangini Bari
842234145.015.png 842234145.016.png 842234145.017.png 842234145.018.png
 
Foreword
Since the irst jQuery homepage in 2006, an interacive example introduced visitors to jQuery
with a single line of code, and a buton to run that code. When clicked, it added a class to a
hidden paragraph, and animated that paragraph to become visible.
Today, in late 2010, the API documentaion has 15 methods listed in the Efects category.
These provide built-in animaions for fading and sliding, as well as various ways to create
custom animaions. When combined with color and class animaions and custom easings
that jQuery UI provides, there are even more ways to create animaions.
A good rule of thumb for using animaions is to use slides when showing elements within
the pagelow, and fades for overlays, like a toolip. But that's just a rule of thumb, and with
all the tools available there's a lot more opportunity to improve interacions, as well as
messing them up.
With that in mind, a full book on animaions starts to make a lot of sense. It makes even
more sense when also taking into account upcoming technologies which aren't bound to
jQuery directly, like CSS3 animaions or animated canvas drawings.
As a tech reviewer I've worked with Dan on his jQuery UI 1.6 and jQuery UI 1.7 books. At the
ime the jQuery UI team was sill iguring out the scope and exact direcion of the project,
including several direcion changes at the ime when Dan was wriing the irst book. Despite
these challenges Dan did a great job providing documentaion and extensive examples on
how to use and combine the widgets and interacions jQuery UI provides.
With this book Dan brings his experience in wriing on jQuery topics to teach you when
and how to use animaions to create beter user experiences. I hope it serves you well.
Jörn Zaeferer
jQuery UI development lead, plugin author, and QUnit maintainer
Zgłoś jeśli naruszono regulamin