Home arrow JavaScript arrow Creating Bouncing Effects with the GX JavaScript Animation Framework
JAVASCRIPT

Creating Bouncing Effects with the GX JavaScript Animation Framework


In this third part of a series of articles on the GX JavaScript animation framework, you'll learn how to add bouncing effects to simple divs. You'll be surprised at how easy it is to do.

Author Info:
By: Alejandro Gervasio
Rating: 3 stars3 stars3 stars3 stars3 stars / 3
January 22, 2010
TABLE OF CONTENTS:
  1. · Creating Bouncing Effects with the GX JavaScript Animation Framework
  2. · Review: creating parallel animations with GX
  3. · Adding bounce to animations
  4. · Adding bounce and changing height

print this article
SEARCH DEVARTICLES

TOOLS YOU CAN USE

advertisement
Creating Bouncing Effects with the GX JavaScript Animation Framework
(Page 1 of 4 )

GX is a full-featured JavaScript library created by Riccardo Degni that lets you implement all sorts of appealing animation effects on elements of a web page by using a group of straightforward and highly-intuitive methods. Ranging from dynamically changing the background colors and transparency of CSS selectors, to moving objects programmatically across the browser, GX comes equipped with a powerful set of features that permits developers to create advanced animation effects in a truly unobtrusive fashion.

To reveal the actual functionality that stands behind the API provided by the GX library, in the two previous articles of this series I developed some basic examples that showed how to use its core “gx()” method to animate a sample div. First I modified its width and height individually, and then I altered these properties in conjunction with its background color.

Obviously, these examples are clear evidence that GX lets you alter multiple properties of an HTML element on the fly, which speaks for itself about its remarkable capabilities for creating parallel animations.

In addition, it’s fair to say that the library permits you to easily customize the way that an animation is carried out via the “easing” argument taken by the “gx()” method. In reality, this parameter allows you to produce interesting variations of a classic linear animation, which comes in handy for implementing bouncing and elastic effects.

Therefore, in this third chapter of the series I’ll be taking a deeper look at this "easing" argument. You'll learn how to use it for adding a neat bouncing behavior to elements of your web pages.

Ready to learn more about how to tweak this useful parameter of the GX library? Then let’s get started right now!


blog comments powered by Disqus
JAVASCRIPT ARTICLES

- More Top jQuery Plugins for Menus
- Top jQuery Tutorials for Beginners
- New UI Framework and SDK for JavaScript Rele...
- JavaScript OpenPGP Tool, Node.js 0.6.3 Avail...
- Yahoo Releases Cocktails Language and Develo...
- Customizing jQuery Slideshows: Dynamic Contr...
- Customizing jQuery Slideshows: the animate()...
- Customizing jQuery Slideshows: slideUp() and...
- Customizing jQuery Slideshows: hide() and sh...
- Web Workers: Performing Calculations in Para...
- More Top JavaScript Frameworks and Libraries
- More Dynamic jQuery Styling Techniques
- The Top JavaScript Libraries
- The Top JavaScript Frameworks
- Dynamic jQuery Styling

Dev Articles Forums 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Weekly Newsletter
 
Developer Updates  
Free Website Content 
Contact Us 
Site Map 
Privacy Policy 
Support 



© 2003-2012 by Developer Shed. All rights reserved. DS Cluster 1 - Follow our Sitemap
Popular Web Development Topics
All Web Development Tutorials