title: Uncaught TypeError: Cannot read property 'hide' of undefined
body: <p>I have an error when trying to load a fancybox on page load. Says <code>Uncaught TypeError: Cannot read property 'hide' of undefined</code> on fancybox-pack.js line 18</p>
  
  <p>My code is:</p>
  
  <pre><code> $.fancybox($('#sample'));
  </code></pre>