script.aculo.us Fade Effect
Effect.Fade('element_id', options );
- duration: Duration taken to fade the element, defaults to 1.0.
- from: It is a float value representing the percent of opacity to start, the default value is 0.0.
- to: It is a float value representing the percent of opacity to end, the default value is 1.0.
Note: To use this library, we are supposed to install the library and then use it in our programs. And to do so, you can follow this link http://script.aculo.us/downloads.
To see the effect, first install the library and then open this program in the local environment.