RJS参考之Visual Effects

RJS所使用的是Scriptaculous库的Effects:


appear

Element gradually appears


blind_down

Causes the div element specified to slowly slide down into visibility like a blind being pulled down


blind_up

The opposite of blind_down. Causes the element to slowly slide up and out of view like a blind being drawn up.


drop_out

Causes the element to drop down out of view.


fade

The opposite of appear. The element gradually fades from view.


fold

First blinds up the element about 90% of the way and then squishes it over to the left side of the region it originally occupied.


grow

Element grows up and into view from the bottom of the area occupied by the element.


highlight

Perform the "Yellow Fade Technique" on the element.


puff

The element expands and becomes transparent until it disappears.


pulsate

Make the element flash on and off.


shake

Causes the element to shake back and forth horizontally. Great for drawing the user's attention.


shrink

The opposite of grow. The element shrinks away off of the screen toward the bottom of the area it occupies.


slide_down

Causes the entire element to slide down into view.


slide_up

The opposite of slide_down. Causes the element to slide up and out of view.


squish

Squishes the element out of view by quickly compressing it into the upper left hand corner of the space it occupies.


switch_off

Causes the element to flicker and the drops out of view, similar to drop_out.


toggle_appear

Toggles the element between being visible and hidden. Uses appear when making the element visible and fade when hiding the element.


toggle_blind

The same as toggle_appear, but uses blind_down and blind_up for showing and hiding the elements respectively.


toggle_slide

The same as toggle_appear, but uses slide_down and slide_up for showing and hiding the elements respectively.

你可能感兴趣的:(Flash,UP)