title: jQuery - Show hidden div and check cookie
body: <p>I've made this small campaign popup box, but I need the class .popupbox to be display:none, or else it will blink/show up on site refresh or change. But how could I change my jQuery script to show the hidden div? and check the cookie before showing the div? </p>
  
  <pre><code>&lt;div class="popupbox" id="popupboxToggleDiv"&gt;
    &lt;a href="#" id="campaign_Toggle"&gt;
      &lt;div class="close_button"&gt;&lt;/div&gt;
    &lt;/a&gt;
    &lt;div class="campaign_text"&gt;Free shipping&lt;/div&gt;
  &lt;/div&gt;
  
  &lt;script&gt;
    if (jQuery.cookie("toggle") == "toggled")
      jQuery("#popupboxToggleDiv").hide("fast");
  
    jQuery('#campaign_Toggle').click(function () {
      jQuery('#popupboxToggleDiv').fadeOut('slow');
      jQuery.cookie("toggle", "toggled");
      return false;
    });
  &lt;/script&gt;
  </code></pre>