Make a div disappear or appear after few seconds with jQuery

You must have seen this effect when a particular element is visible for few seconds and then it fades out. Such things are used for notifications. You can also implement the same in your web application with jQuery. It is really very simple.

Find below jQuery code to show the div for 3 seconds and after that it fades out automatically. Use setTimeout() function to achieve this.

Also Read:

$(document).ready(function() {
    setTimeout(function() {

See result below

Feel free to contact me for any help related to jQuery, I will gladly help you.

Responsive Menu
Add more content here...