IT Certificaions

Google Cloud Platform

Wednesday, June 20, 2012

Notification div with auto hide

If you want to create a message notification div with auto hide property using jquery, see the code here

Add this to your java script code...

 $(document).ready(function() {

<style type="text/css">
  background: #FCFFB2; 
  color: white;
    padding-top: 3px;
And create div where you want to show in your page...

    <div id=" messageDiv " class="notificationDiv" >
    This is a notification div