2150 |
mathias |
1 |
-------------------------------------------------------------------------------
|
|
|
2 |
dojox.fx
|
|
|
3 |
-------------------------------------------------------------------------------
|
|
|
4 |
Version 1.0.0
|
|
|
5 |
Release date: 10/31/2007
|
|
|
6 |
-------------------------------------------------------------------------------
|
|
|
7 |
Project state:
|
|
|
8 |
prototype / expermental
|
|
|
9 |
-------------------------------------------------------------------------------
|
|
|
10 |
Credits
|
|
|
11 |
Peter Higgins (dante)
|
|
|
12 |
Jonathan Bond-Caron (jbondc@gmail.com)
|
|
|
13 |
Shane O'Sullivan (shaneosullivan1@gmail.com)
|
|
|
14 |
-------------------------------------------------------------------------------
|
|
|
15 |
Project description
|
|
|
16 |
|
|
|
17 |
dojox.fx provides a class of animation effects to use, and
|
|
|
18 |
other animation addons to dojo base.
|
|
|
19 |
|
|
|
20 |
-------------------------------------------------------------------------------
|
|
|
21 |
Dependencies:
|
|
|
22 |
|
|
|
23 |
dojox.fx requires dojo (core) and the dojo.fx package
|
|
|
24 |
dojox.fx.easing requires only dojo core.
|
|
|
25 |
|
|
|
26 |
-------------------------------------------------------------------------------
|
|
|
27 |
Documentation
|
|
|
28 |
|
|
|
29 |
existing API surface:
|
|
|
30 |
|
|
|
31 |
dojox.fx._base:
|
|
|
32 |
- dojox.fx.crossFade - crossfade two nodes easily
|
|
|
33 |
- dojox.fx.sizeTo - size a node about it's center to a new width/height
|
|
|
34 |
- dojox.fx.slideBy - slide a node by a t,l offset
|
|
|
35 |
- dojox.fx.highlight - animates the background color of a node, and returns
|
|
|
36 |
it to the color it was.
|
|
|
37 |
|
|
|
38 |
(all use standard _Animation properties, like duration, easing, node, etc)
|
|
|
39 |
|
|
|
40 |
dojox.fx._core:
|
|
|
41 |
- dojox.fx._Line - a 2-d _Line implementation, backwards compatible with
|
|
|
42 |
dojo._Line ... you might could safely do something akin to
|
|
|
43 |
dojo._Line.prototype = dojox.fx._Line.prototype;
|
|
|
44 |
and enable this for all dojo _Animations?
|
|
|
45 |
|
|
|
46 |
dojox.fx.style: - experimental CSS animation via class definitions
|
|
|
47 |
- dojox.fx.addClass - animate the effects of applying a class to a node
|
|
|
48 |
- dojox.fx.removeClass - " " " " removing a class from a node
|
|
|
49 |
- dojox.fx.toggleClass - wrapper for addClass/removeClass
|
|
|
50 |
|
|
|
51 |
dojox.fx.easing: - a collection of easing functions to use
|
|
|
52 |
this is a "stand alone" class, and can be used via:
|
|
|
53 |
dojo.require("dojox.fx.easing");
|
|
|
54 |
and provides:
|
|
|
55 |
dojo.fx.easing.easeIn/easeOut/easeInOut
|
|
|
56 |
to use in an _Animation easing: property
|
|
|
57 |
|
|
|
58 |
-------------------------------------------------------------------------------
|
|
|
59 |
Installation instructions
|
|
|
60 |
|
|
|
61 |
Grab the following from the Dojo SVN Repository:
|
|
|
62 |
http://svn.dojotoolkit.org/dojo/dojox/trunk/fx.js
|
|
|
63 |
http://svn.dojotoolkit.org/dojo/dojox/trunk/fx/*
|
|
|
64 |
|
|
|
65 |
Install into the following directory structure:
|
|
|
66 |
/dojox/fx/
|
|
|
67 |
|
|
|
68 |
...which should be at the same level as your Dojo checkout.
|
|
|
69 |
-------------------------------------------------------------------------------
|