Home arrow JavaScript arrow Making Bouncing Effects in Parallel with the GX JavaScript Animation Framework
JAVASCRIPT

Making Bouncing Effects in Parallel with the GX JavaScript Animation Framework


In this fourth installment of a series, I provide you with some friendly examples that show how to use the GX library for creating an appealing bouncing effect when performing parallel animations on a target div. The process is extremely simple, so you shouldn’t have major trouble if you need to implement this kind of effect on your own web pages.

Author Info:
By: Alejandro Gervasio
Rating: 5 stars5 stars5 stars5 stars5 stars / 1
January 26, 2010
TABLE OF CONTENTS:
  1. · Making Bouncing Effects in Parallel with the GX JavaScript Animation Framework
  2. · Review: bouncing HTML elements with the GX library
  3. · More effects: using a Bounce easing for parallel animations
  4. · A more sophisticated bouncing animation

print this article
SEARCH DEVARTICLES

TOOLS YOU CAN USE

advertisement
Making Bouncing Effects in Parallel with the GX JavaScript Animation Framework
(Page 1 of 4 )

When choosing a JavaScript library that allows you to animate HTML elements in a painless and unobtrusive way, making a good decision can be a challenging task due to the numerous options available. From the venerable jQuery which conquered literally legions of web designers with its easy learning curve and its already classic chainable interface, to the popular Dojo and Prototype, only to cite a few examples, the market is full of packages that will do the job remarkably well.

However, if you already fell in love with jQuery (and who hasn't?), and want to use a library that expands its nice animation capabilities, then you should take a look at GX, a framework developed by Riccardo Degni that will let you create a great variety of animation effects on your web pages, without having to alter a single portion of your carefully-crafted structural markup.

What’s more, if you've read all the articles previous to this one, then you probably have a more solid background than you did before in performing simple and parallel animations using the GX framework. During those tutorials I developed some basic examples that demonstrated how to use the library’s “gx()” method to modify the width, height and background color of a div, all at the same time.

I left off the last part discussing how to add a nice bouncing effect to an animation by tweaking its “easing” argument, which was a fairly straightforward process. However, in that particular case the effect was only applied when animating individual properties of the target HTML element. Does this mean that this can’t be achieved when performing parallel animations? Well, fortunately GX permits you to do this very easily. In this article I’ll be developing a bunch of code samples that will show you how to accomplish this seemingly complex task in a few simple steps.

Now, it’s time to continue exploring the features offered by the GX animation library. Let’s go!


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 11 - Follow our Sitemap
Popular Web Development Topics
All Web Development Tutorials