jQuery fadeTo() method is used to fading to a given opacity.
speed: It specifies the speed of the delay. Its possible vales are slow, fast and milliseconds.
opacity:It specifies the opacity. The opacity value ranges between 0 and 1.
easing: It specifies the easing function to be used for transition.
callback: It is also an optional parameter. It specifies the function to be called after completion of fadeToggle() effect.
Let's take an example to demonstrate jQuery fadeTo() effect.Test it Now
See the fadeTo() method example with different parameters.
JavaTpoint offers too many high quality services. Mail us on h[email protected], to get more information about given services.
JavaTpoint offers college campus training on Core Java, Advance Java, .Net, Android, Hadoop, PHP, Web Technology and Python. Please mail your requirement at [email protected].
Duration: 1 week to 2 week