title: using next within an iframe [fancybox]
body: <p>I am trying to load a new URL to an Iframe by calling the next method on fancybox but i have not been able to get it to work. </p>
  
  <p>I know I can close a fancybox within an iframe using </p>
  
  <blockquote>
    <p>parent.$.fancybox.close();</p>
  </blockquote>
  
  <p>using parent.$.fancybox.next() however doesn't work </p>
  
  <p>Is there no provision for this or am i doing something wrong </p>
  
  <pre><code>&lt;a href="javascript:void(0)" onclick="goToNext()"&gt;next&lt;/a&gt;
  
  function goToNext()
  {
  parent.$.fancybox.next()
  
  }
  </code></pre>
  
  <p>i resulted to doing this as I could not get the next and prev button to show even after setting the cyclic and showNavArrows options to true </p>