$(window).load(function(){
function FirstAppear() {
var d = new $.Deferred;
$('.icon').fadeIn();
return d.promise();
}
function FirstDisappear() {
var d = new $.Deferred;
$('.icon').fadeOut();
return d.promise();
}
function playAnimation(){
FirstAppear().then(FirstDisappear())
}
playAnimation();
});
Be the first to comment
You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.