JavaScript
  Home arrow JavaScript arrow Producing Elastic 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

Producing Elastic Effects 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-02-05

    Table of Contents:
  • Producing Elastic Effects with the GX JavaScript Animation Framework
  • Review: animating simultaneously the top and left properties of a div
  • Creating elastic animations with GX
  • An elastic effect with a parallel 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


    Producing Elastic Effects with the GX JavaScript Animation Framework


    (Page 1 of 4 )

    In this seventh part of a series, I develop a couple of examples that show how to create elastic animations by tweaking the “easing” argument taken by the familiar “gx()” method of the GX library. The use of this parameter was covered in earlier chapters when I explained the implementation of bouncing animations, so I think that understanding how to put it to work for you should be a pretty painless experience.

    If you're a web designer searching for a full-featured JavaScript library that will let you implement a great diversity of engaging animations on your web pages without having to compromise your pristine markup, then you should take a closer look at GX. This powerful animation framework can easily be stacked on top of jQuery to create all sorts of appealing visual effects on HTML elements.

    Hidden behind a friendly API, the GX library packages a surprising amount of handy characteristics that permit you to animate multiple properties of a target element, in most cases via its core "gx()" method. However, to simplify the execution of certain common effects, such as fade-in/out transitions, slides and movements, GX also comes with a set of additional methods that will do the hard work for you.

    For obvious reasons, attempting to cover all of the rich features offered by the library is nearly an impossible mission. Therefore, in this article series I decided to cover only the most relevant ones, so you can start using them in many productive ways without the need to spend long hours reading the official documentation.

    I left off in the previous part discussing how to take advantage of the functionality provided by the aforementioned "gx()" method to move a div diagonally on the browser. This was accomplished by altering the div's "top" and "left" coordinates at the same time. However, GX is capable of doing many more useful things, such as performing pretty realistic "elastic" animations. In this seventh chapter of the series, I'll be exploring this handy feature by presenting a decent number of functional code samples.

    Ready to learn how to make your HTML elements behave like elastic structures on your web pages? Then don't hesitate anymore; start reading right now!

    More JavaScript Articles
    More By Alejandro Gervasio


       · This seventh part of the series shows how to create easily elastic animations by...
     

    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 10 Hosted by Hostway
    For more Enterprise Application Development news, visit eWeek