title: Confused on adding simple cookie to my jquery to hide spash screen div if already viewed in session
body: <p>I'm new to jquery and wrote this simple script for a splash screen (just a div z-index 999 over index page).  upon click, I have it set to fade out the div. I'm stuck on adding the script to place a cookie so that if visitor navigates site and returns to the index page, the splash div will not display again in that session.  I assume the cookie, if found, will trigger the div #splash  to display:none.</p>
  
  <p>Can anybody help? Iv read similar posts but they were more advanced scripts so I got confused.</p>
  
  <p>This is my current jquery:</p>
  
  <pre><code>&lt;script src="http://code.jquery.com/jquery-latest.js"&gt;&lt;/script&gt;
  &lt;script src="jquery.cookie.js"&gt;&lt;/script&gt;
  &lt;script&gt;
  $(document).ready(function() {
  $('#centered a').click(function() {
    $('#splash').fadeOut(800);
      });
        });
  &lt;/script&gt;
  </code></pre>