Home arrow JavaScript arrow Fading, Hiding and Sliding HTML Elements with the GX JavaScript Animation Framework
JAVASCRIPT

Fading, Hiding and Sliding HTML Elements with the GX JavaScript Animation Framework


In this penultimate part of the series, I introduce you to using some extra methods provided by the GX library that come in useful for performing various operations. These include fading in and fading out, slides, and even manipulating the visibility of web page elements. All of these animation tasks can be accomplished very easily.

Author Info:
By: Alejandro Gervasio
Rating: 5 stars5 stars5 stars5 stars5 stars / 1
February 10, 2010
TABLE OF CONTENTS:
  1. · Fading, Hiding and Sliding HTML Elements with the GX JavaScript Animation Framework
  2. · Tweaking the opacity of an HTML element
  3. · Sliding things on screen with the slideIn() and slideOut() methods
  4. · Hiding and displaying web page elements with the hide() and show() methods

print this article
SEARCH DEVARTICLES

TOOLS YOU CAN USE

advertisement
Fading, Hiding and Sliding HTML Elements with the GX JavaScript Animation Framework
(Page 1 of 4 )

Creating engaging animations on your web pages does not always imply that you have to put your pockets (or your credit card) under strain buying expensive software like Flash or Swift 3D. Thanks to the generosity of many developers worldwide, you can pick up a JavaScript framework for free among the numerous ones available on the web, and start turning your divs, paragraphs and lists into dynamic elements.

In reality, at present there’s such a great variety of animation frameworks available that choosing one that fits your needs without overkill can be a challenging task. Fortunately, making the right decision doesn’t have to be a painful experience. This is especially true if you’re a big fan of jQuery; you may want to try GX, a powerful plug-in that will let you implement all sorts of eye-catching effects on your (X)HTML documents without having to mess up a single portion of your clean markup.

Naturally, if you’ve been a loyal follower of this article series and have already read all of the tutorials previous to this one, you now have a strong background in how to use the GX library for creating different types of effects, ranging from altering the dimensions of an HTML element and varying its opacity, to moving it up and down across the browser.

While it’s fair to stress that in most cases these effects were performed via the workhorse of GX, that is its handy “gx()” method, the library comes with a few additional, convenient methods that can be used for animations such as fade-ins and fade-outs, slides and even hiding elements entirely. Therefore, if you’re interested in learning how to put these methods to work for you, in this penultimate part of the series I’ll be taking a close look at them.

Let's start exploring the functionality of these fine animation methods.


blog comments powered by Disqus
JAVASCRIPT ARTICLES

- More Top jQuery Tutorials for Beginners
- 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

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