friends I want to show an animation while the site is loader completely and I use GSAp to accomplish this task but the page web is get loded fast , and i could not see the animation , how can i delay the load , and ready function of jquery to wait till my animation completed
wait for an animation
in GSAP
Posted
hello
friends I want to show an animation while the site is loader completely and I use GSAp to accomplish this task but the page web is get loded fast , and i could not see the animation , how can i delay the load , and ready function of jquery to wait till my animation completed
this is my code in ready function of jquery :
');
});
and this is my code in load function of jquery :
$('.paceDiv').append('<div id="preloder"></div>');
$('#preloder').css({
'position': 'absolute',
'top': '190px',
'left': '529px'
});
$('body').fadeIn();
$('.paceDiv').fadeOut();
});