JavaScript
  Home arrow JavaScript arrow Creating Bouncing Effects with the GX Java...
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

Creating Bouncing Effects with the GX JavaScript Animation Framework
By: Alejandro Gervasio
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 3 stars3 stars3 stars3 stars3 stars / 3
    2010-01-22

    Table of Contents:
  • Creating Bouncing Effects with the GX JavaScript Animation Framework
  • Review: creating parallel animations with GX
  • Adding bounce to animations
  • Adding bounce and changing height

  • 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


    Creating Bouncing Effects with the GX JavaScript Animation Framework


    (Page 1 of 4 )

    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.

    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!

    More JavaScript Articles
    More By Alejandro Gervasio


       · This third installment of the series takes a closer look at the "easing" argument...
     

    JAVASCRIPT ARTICLES

    - Using jQuery to Preload Images with CSS and ...
    - Using Client-Side Scripting to Preload Image...
    - Removing Non-Semantic Markup when Preloading...
    - Using the Display CSS Property to Preload Im...
    - Preloading Images with CSS and JavaScript
    - Scaling and Moving Web Page Elements with th...
    - Fading, Hiding and Sliding HTML Elements wit...
    - Toggling CSS Properties with the GX JavaScri...
    - Cancel, Queue and Pause Animations with the ...
    - Producing Elastic Effects with the GX JavaSc...
    - Moving Divs Diagonally with the GX JavaScrip...
    - Moving Elements Vertically and Horizontally ...
    - Making Bouncing Effects in Parallel with the...
    - Creating Bouncing Effects with the GX JavaSc...
    - Manipulating Background Colors with the GX J...







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