title: Open fancyBox automatically?
body: <p>I'm currently working on trying to get the fancyBox jQuery plugin to open up automatically as soon as the front page of my site loads. I'm very new to Javascript and jQuery and need some pointers.</p>
  
  <p>I have the below code in between my HEAD tags. Just wondering if there's something else I can insert in here to I can get fancyBox to open up when the page loads.</p>
  
  <pre><code>&lt;script type="text/javascript"&gt;
          $(document).ready(function() {
              $(".fancybox").fancybox();
          });
  &lt;/script&gt;
  </code></pre>
  
  <p>I found the following API method in the fancyBox documentation and wasn't sure if this is what I'm looking for or not. I couldn't seem to get it to work.</p>
  
  <pre><code>$.fancybox.open( [group], [options] )
  </code></pre>
  
  <p>Any ideas?</p>