JavaScript
  Home arrow JavaScript arrow Making Bouncing Effects in Parallel with t...
Dev Articles Forums 
ADO.NET  
Apache  
ASP  
ASP.NET  
C#  
C++  
ColdFusion  
COM/COM+  
Delphi-Kylix  
Design Usability  
Development Cycles  
DHTML  
Embedded Tools  
Flash  
Graphic Design  
HTML  
IIS  
Interviews  
Java  
JavaScript  
MySQL  
Oracle  
Photoshop  
PHP  
Reviews  
Ruby-on-Rails  
SQL  
SQL Server  
Style Sheets  
VB.Net  
Visual Basic  
Web Authoring  
Web Services  
Web Standards  
XML  
Mobile Linux 
App Generation ROI 
IBM® developerWorks 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
JAVASCRIPT

Making Bouncing Effects in Parallel with the GX JavaScript Animation Framework
By: Alejandro Gervasio
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 5 stars5 stars5 stars5 stars5 stars / 1
    2010-01-26

    Table of Contents:
  • Making Bouncing Effects in Parallel with the GX JavaScript Animation Framework
  • Review: bouncing HTML elements with the GX library
  • More effects: using a Bounce easing for parallel animations
  • A more sophisticated bouncing animation

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
     
    ADVERTISEMENT


    Making Bouncing Effects in Parallel with the GX JavaScript Animation Framework


    (Page 1 of 4 )

    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.

    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!

    More JavaScript Articles
    More By Alejandro Gervasio


       · This fourth installment of a series goes through the development of some basic...
     

    JAVASCRIPT ARTICLES

    - Dynamic Drop-down Menus: Javascript Progress...
    - Creating Drop-down Menus Using Progressive E...
    - Building Slide Shows Using Progressive Enhan...
    - Form Validation with Progressive Enhancement...
    - Validating Web Forms: an Introduction to Pro...
    - Ajax Progressive Enhancement: Reading Remote...
    - Ajax Image Requests: Progresive Enhancement ...
    - jQuery Image Gallery: Working with Progressi...
    - Progressive Enhancement in an Image Gallery
    - Building a Drop-Down Menu with the HoverInte...
    - Using All of the HoverIntent jQuery Plug-in`...
    - Controlling Mouseout Events with HoverIntent...
    - Using the Interval Argument of the HoverInte...
    - Tweaking the Sensitivity of the HoverIntent ...
    - Introducing the HoverIntent jQuery Plug-in







    © 2003-2010 by Developer Shed. All rights reserved. DS Cluster 5 Hosted by Hostway
    For more Enterprise Application Development news, visit eWeek