GX Framework Back to Riccardo Degni

Full-featured Javascript Animations Framework

What is GX Framework? top

GX is a complete framework, based on the famous jQuery Library, to create powerful, flessible and cross-browser animations. It is an alternative engine to the jQuery core animations engine. GX is very easy to use and customize, very lightweight (less than 4kb!) and very fast!
With GX Framework you can:
  • create customizable, very powerful animations
  • chain multiple animations
  • create powerful animation shortcuts
  • create your own animations by extending the core
  • using Extras and Transitions (available only by private request via e-mail)

Using GX Framework top

Using GX Framework is very simple.
The following are some examples that show how to create animations:
// simple animation
$('element').gx({'width':'+=200px', 'height':'4em', 'opacity':0.4, 'color':'#ff0'},
4000);
 
// queue animations
$('element').gx({width: 0}, 200)
            .gx({width: 200}, 4000)
            .gx({width: 0}, 'verySlow')
            .gx({width: 100}, 'slow');
 
// 'Complete' callback
$('element').gx({width: 200, height: 200}, 2000, 'Bounce', function(el) {
  el.html('The animation is completed!');
});
 
// 'Start' and 'Complete' callbacks
$('element').gx({width: 200, height: 200}, 2000, 'Bounce',
  {'start': function(el) { el.html('The animation is started!'); },
   'complete': function(el) { el.html('The animation is completed!'); } }
);

Installation top

Installing GX Framework is very simple. In order for GX to run, you have to add jQuery first, then just add the library and here you go:
<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js"></script>
<script src="http://www.riccardodegni.com/projects/gxframework/1.2/GX-min.js"></script>
<script>
// do GX stuff
$(function() {
    // ...
});
</script>

Downloading GX Framework top

You can download the uncompressed version of GX Framework and the minified version.

Author and License top

GX Framework is developed by Riccardo Degni and it is released under the MIT License.
If you need support, have any question or want to get in touch with me, feel free to send me a mail.