Home arrow JavaScript arrow Manipulating Background Colors with the GX JavaScript Animation Framework
JAVASCRIPT

Manipulating Background Colors with the GX JavaScript Animation Framework


In this second installment of a series, I take a deeper look at a few more features provided by the GX library. Specifically, I show how to use them for performing parallel animations that include changing the width, height and background color of a sample div.

Author Info:
By: Alejandro Gervasio
Rating: 5 stars5 stars5 stars5 stars5 stars / 1
January 21, 2010
TABLE OF CONTENTS:
  1. · Manipulating Background Colors with the GX JavaScript Animation Framework
  2. · Review: basic animations with the GX framework
  3. · Modifying the background color of a sample div
  4. · Manipulating the background color and height of a div simultaneously

print this article
SEARCH DEVARTICLES

TOOLS YOU CAN USE

advertisement
Manipulating Background Colors with the GX JavaScript Animation Framework
(Page 1 of 4 )

If you’re ever used jQuery to add dynamic behavior to elements on your web pages, then you may already have tried out its animation capabilities. These work remarkably well in 90% percent of use cases. However, what happens if you need to implement even more sophisticated effects without leaving the comfortable API of the popular library?

Enter GX, a full-featured JavaScript framework developed by Riccardo Degni () that will let you perform all sorts of animations with your HTML elements, using only a small set of highly-configurable methods. What’s more, since GX uses the functionality of jQuery behind the scenes to leverage its full potential, you’ll find that working with it is very similar to using jQuery’s native methods.

Logically, if you’ve already read the previous article in this series, then you have a clearer idea of how to perform basic animations using the GX library. In that tutorial I developed some examples that showed how to dynamically modify the width and height of a simple div by using the library’s “gx()” method.

I also showed how to animate the targeted div by altering its dimensions simultaneously, which speaks for itself about the capabilities offered by GX for performing parallel animations.

However, this is only a simple demonstration of what can be accomplished with GX, since it comes packaged with tons of helpful features. So, in this second episode of the series I’ll be developing a few additional examples that will show how to use the library for changing the background color of a div, along with its width and height properties.

Does this sound like an interesting topic? Then begin reading 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 6 - Follow our Sitemap
Popular Web Development Topics
All Web Development Tutorials