Method | Description | |
---|---|---|
Appear ( String elementId ) : String |
Make an element appear. If the element was previously set to display:none; inside the style attribute of the element, the effect will automatically show the element. Microsoft Internet Explorer can only set opacity on elements that have a 'layout'. To let an element have a layout, you must set some CSS positional properties, like 'width' or 'height'. |
|
BlindDown ( String elementId ) : String |
This pair of effects simulates a window blind, where the contents of the affected elements stay in place. Works safely with most HTML block elements (like DIV and LI), except table rows, table bodies and table heads. |
|
BlindUp ( String elementId ) : String |
This pair of effects simulates a window blind, where the contents of the affected elements stay in place. Works safely with most HTML block elements (like DIV and LI), except table rows, table bodies and table heads. |
|
DropOut ( String elementId ) : String |
Makes the element drop and fade out at the same time. Works safely with most HTML block elements (like DIV and LI). |
|
Fade ( String elementId ) : String |
Makes an element fade away and takes it out of the document flow at the end of the effect by setting the CSS display property to false. Works safely with most HTML block elements (like DIV and LI). Microsoft Internet Explorer can only set opacity on elements that have a 'layout'. To let an element have a layout, you must set some CSS positional properties, like 'width' or 'height'. |
|
Puff ( String elementId ) : String |
Gives the illusion of the element puffing away (like a in a cloud of smoke). Works safely with most HTML block elements (like DIV and LI). |
|
Shake ( String elementId ) : String |
Moves the element slightly to the left, then to the right, repeatedly. Works safely with most HTML block elements (like DIV and LI). |
|
SlideDown ( String elementId ) : String |
This pair of effects simulates a window blind, where the contents of the affected elements scroll up and down accordingly. You must include a second DIV element, wrapping the contents of the outer DIV. So, if you call new Effect.SlideDown('x'), your element must look like this: |
|
SlideUp ( String elementId ) : String |
This pair of effects simulates a window blind, where the contents of the affected elements scroll up and down accordingly. You must include a second DIV element, wrapping the contents of the outer DIV. So, if you call new Effect.SlideDown('x'), your element must look like this: |
|
SwitchOff ( String elementId ) : String |
Gives the illusion of a TV-style switch off. Works safely with most HTML block elements (like DIV and LI). |
public BlindDown ( String elementId ) : String | ||
elementId | String | |
return | String |
public SlideDown ( String elementId ) : String | ||
elementId | String | |
return | String |
public SwitchOff ( String elementId ) : String | ||
elementId | String | |
return | String |