jquery fade in then fade out automatically once

willcooler

I want to fade in a text and then fade out it. I just can make it by using click in jquery, but I want it automatically fade in then fade out only once without click. anyone can help?

Cyril

You mean just once at startup?

$(function() {

$('p').fadeOut('slow', function() {
    $(this).fadeIn('slow');
});

});

Test it here: http://jsfiddle.net/69fxkhdt/

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related