title: Jquery Cookies expiration Time
body: <p>I'm using this code to show two different DIV using jquery cookies.</p>
  
  <pre><code>&lt;script type="text/javascript"&gt;
  $(function showevent() {
        $(window).load(function() {
        if ($.cookie('MYCOOKIEVALUE') != '1'){
  
        setTimeout(function(){
        $('#event').fadeIn(); 
        jQuery.cookie('MYCOOKIEVALUE', '1', { expires: 31}); 
        }, 1000);}
  
  
        if ($.cookie('MYCOOKIEVALUE') == '1'){
        $('#event2').fadeIn();    
        }
  });
  });
  &lt;/script&gt;
  </code></pre>
  
  <p>I just need to modify the expiration time to 10 minutes using the exact code above.
  Still very new in javascript and jquery ;(
  Any help please</p>