Development

dgDojoPlugin/DojoEffects (diff)

You must first sign up to be able to contribute.

Changes between Version 15 and Version 16 of dgDojoPlugin/DojoEffects

Show
Ignore:
Author:
Dean.Glazeski (IP: 68.225.171.15)
Timestamp:
07/20/08 02:12:47 (9 years ago)
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • dgDojoPlugin/DojoEffects

    v15 v16  
    4040 * repeat   - How many times to repeat the animation 
    4141 * jnode    - To interpret the node as Javascript instead of an ID, set this to true 
     42 * easing   - A Javascript function that takes a single decimal argument and returns a decimal.  There are many functions available and are listed in the !DojoEasing class. 
    4243 
    4344The whole point of this class is to just remove some of the burden from the real effects files.  This also houses the default constructor for the effect classes.  The constructor takes a node ID as the first argument and a set of optional options.  The node ID can also be Javascript if you set the option 'jnode' to true. 
    157158 * top  - How far to move in reference to the current top position 
    158159 
    159 Both of those options support negative values, so you can move up, down, left, or right in reference to the top or left. 
     160Both of those options support negative values, so you can move up, down, left, or right in reference to the top or left.  This effect does not currently support being chained or combined on the same element.  This means that if you want to move 50 pixels from the top and 50 pixels from the left in the same element, you have to specify both 'left' and 'top' in the same effect instance. 
    160161 
    161162=== Examples ===