title: How can I open inline div on page load using ShadowBox?
body: <p>I want to open a div on page load. The code I've pasted gives me a javascript error in the ShadowBox library: 'container is undefined'</p>
  
  <p>How can I achieve this?</p>
  
  <pre><code>$(document).ready(function () {
  
      Shadowbox.init({ skipSetup: true }); 
      Shadowbox.open({
          content: '#surveyDialog',
          player: 'inline',
          height: 450,
          width: 500
      });
  });
  
  
  &lt;div id="surveyDialog" class="dialogWindowWrapper"&gt;
      &lt;h2&gt;Hello!&lt;/h2&gt;
  &lt;/div&gt;
  </code></pre>