title: fancybox callbacks
body: <p>I have read over a dozen posts and answers ... to no avail.</p>
  
  <p>What is wrong with this simple code, what am I missing here.
  None of tried callbacks works.</p>
  
  <pre>
  $("#project_info").fancybox({
          'onComplete': function() {
              console.log('log this');
              //$.cookie('fcookie', '1', {path: ' / '});
          }
      });
  $("#project_info").fancybox().trigger("click");
  </pre>
  
  <p>and html</p>
  
  <pre>
  &lt;a id=&quot;project_info&quot; href=&quot;#project_display&quot;&gt;&lt;/a&gt;
  &lt;div style=&quot;display: none;&quot;&gt;
      &lt;div id=&quot;project_display&quot; style=&quot;width:100px; height:100px; overflow:auto;&quot;&gt;
      Lorem ipsum dolor sit amet, consectetur adipiscing elit.
      &lt;/div&gt;
  &lt;/div&gt;
  </pre>
  
  <p>note: local wamp</p>
  
  <p>edit: also tested on remote server - strip-down file to prevent any interactions - same result</p>