Changeset 549

Show
Ignore:
Timestamp:
01/22/06 06:46:56 (3 years ago)
Author:
therve@gmail.com
Message:

Docs is good for you.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • mochikit/branches/scriptaculous/doc/rst/MochiKit/Effects.rst

    r503 r549  
    1111:: 
    1212    // Add an fade effect to an element 
    13     Effects.Fade('myelement'); 
     13    MochiKit.Effect.Fade('myelement'); 
    1414 
    1515Description 
     
    4343    Toggle an element between visible and invisible state using an effect. 
    4444 
     45:mochidef:`tagifyText(element[, tagifyStyle])`: 
     46 
     47    Transform a node text into nodes containing one letter by tag. 
     48 
     49:mochidef:`multiple(elements, effect[, options])`: 
     50 
     51    Launch the same effect on a list of elements. 
     52 
     53Basic Effects classes 
     54--------------------- 
     55 
     56:mochidef:`Base()`: 
     57 
     58    Base class to all effects. Define a basic looping service, use it for 
     59    creating new effects. 
     60 
     61:mochidef:`Parallel(effecs [, options])`: 
     62 
     63    Launch effects in parallel. 
     64 
     65:mochidef:`Opacity(element [, options])`: 
     66 
     67    Change the opacity of an element progressively. 
     68 
     69:mochidef:`Move(element [, options])`: 
     70 
     71    Change the position of an element in small steps, creating a moving effect. 
     72 
     73:mochidef:`Scale(element, percent [, options])`: 
     74 
     75    Change the size of an element. 
     76 
     77:mochidef:`Highlight(element [, options])`: 
     78 
     79    Highlight an element, flashing with one color. 
     80 
     81:mochidef:`ScrollTo(element [, options])`: 
     82 
     83    Scroll the window to the position of the given element. 
     84 
     85Combination Effects 
     86------------------- 
     87 
     88:mochidef:`Fade(element [, options])`: 
     89 
     90    Change the opacity of an element until making it disappear. 
     91 
     92:mochidef:`Appear(element [, options])`: 
     93 
     94    Slowly show an invisible element. 
     95 
     96:mochidef:`Puff(element [, options])`: 
     97 
     98    Make an element double size, and then make it disappear. 
     99 
     100:mochidef:`BlindUp(element [, options])`: 
     101 
     102    Blind an element up, changing its vertical size to 0. 
     103 
     104:mochidef:`BlindDown(element [, options])`: 
     105 
     106    Blind an element down, restoring its vertical size. 
     107 
     108:mochidef:`SwitchOff(element [, options])`: 
     109 
     110    A switch-off like effect, making the element disappear. 
     111 
     112:mochidef:`DropOut(element [, options])`: 
     113 
     114    Make the element fall and fade. 
     115 
     116:mochidef:`Shake(element [, options])`: 
     117 
     118    Shake an element from left to right. 
     119 
     120:mochidef:`SlideDown(element [, options])`: 
     121 
     122    Slide an element down. 
     123 
     124:mochidef:`SlideUp(element [, options])`: 
     125 
     126    Slide an element up. 
     127 
     128:mochidef:`Squish(element [, options])`: 
     129 
     130    Reduce the horizontal and vertical sizes at the same time, using the 
     131    top left corner. 
     132 
     133:mochidef:`Grow(element [, options])`: 
     134 
     135    Restore the size of an element. 
     136 
     137:mochidef:`Shrink(element [, options])`: 
     138 
     139    Shrink an element to its center. 
     140 
     141:mochidef:`Pulsate(element [, options])`: 
     142 
     143    Switch an element between Appear and Fade. 
     144 
     145:mochidef:`Fold(element [, options])`: 
     146 
     147    Reduce first the vertical size, and then the horizontal size. 
     148 
    45149Authors 
    46150=======