title: Show content with fancybox like a Javascript Alert
body: <p>I try to show the content from a PHP-file in a fancybox but I can't handle it.</p>
  
  <p>Now it's the following situation:
  If a file permission problem occures a <code>&lt;div id="error"&gt;</code> is shown on the website. I'd like to have the content from <code>&lt;div id="error"&gt;</code> in fancybox. Everything I try I get the notice "The requested content cannot be loaded. Please try again later."</p>
  
  <p>That means the fancybox, it the file permission error occures, should be shown when the page is loading and not like usual shown when some events like click or mouseover.</p>
  
  <p>For example, if the error exists, the following content should be shown in the fancybox:</p>
  
  <pre><code>&lt;div style="width:100px; height:100px; background:#f00;"&gt;
    &lt;p&gt;Failure&lt;/p&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>This snippet is located in a file <code>security_check.php</code>. Now there are two possibilities. The 1st is to load the <code>security_check.php</code> directly into the fancybox or to put in the mentioned above snippet.</p>
  
  <p>So: how to load file contents into the fancybox?</p>