FadeIn and FadeOut effects using JQUERY

We can manage the transition of an element by using fadeIn() and fadeout() effects in jQuery.

To fadeout on click of a button here is the code.

$('#b2').click(function(){
$('#d1').fadeOut();
})
To fadeIn with a click of a button here is the code.

$('#b1').click(function(){
$('#d1').fadeIn();
})

Adding speed to transition

We can add optional choice to transition effect. The choice are

Slow
Fast
Milli seconds

	$('#d1').fadeIn('fast');
These effects add speed to the transition effects.



plus2net.com



Post your comments , suggestion , error , requirements etc here .







Most Popular JQuery Scripts

1

Two dependant list boxes

2

Calendar with Date Selection

3

Data change by Slider

4

Show & Hide element
We use cookies to improve your browsing experience. . Learn more
HTML MySQL PHP JavaScript ASP Photoshop Articles FORUM . Contact us
©2000-2019 plus2net.com All rights reserved worldwide Privacy Policy Disclaimer