Tuesday, December 06, 2016

jQuery Script to Hide Notice

This code is stolen from McKenzie Child youTube video.

$(document).ready(function(){
    setTimeout(function(){
        $('#notice_wrapper').fadeOut('slow', function() {
            $(this).remove();
        })
    }, 4500);
});

No comments:

Post a Comment