Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $('#load').delay(2000).fadeOut(1200, function() {
- $('.box').animate({
- width: 'toggle'
- }, 2000, function() {
- $('.fade-home').animate({
- opacity: '0.5'
- }, 500, function() {
- $('.fade-home').fadeIn(300).css('background-color', 'black', 'display', 'block');
- });
- });
- $(this).toggleClass('active-tab');
- $('.final-tab').animate({'width': 'toggle'}, {duration: 1900} );
- $('.btn-slide').click(function(){
- $('.fade-home').animate({
- opacity: '0.5'
- }, 500, function() {
- $('.fade-home').fadeOut(200).css('background-color', 'none', 'display', 'none').removeClass('fade-active');
- });
- });//end of fade effect, when you close the tab remove fade
- }); //end of load animation when you enter in the website
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement