title: Open url in active inline fancybox
body: <p>I've got a fancybox which loads inline content. The content is rendered on the page as the website is loaded and on document ready the fancybox is shown. The HTML and javascript to do this is as following;</p>
  
  <p><strong>HTML:</strong></p>
  
  <pre><code>&lt;div style="display: none"&gt;
      &lt;div id="cookieContainer"&gt;
          &lt;div class="splash"&gt;
              &lt;!-- Some more content here --&gt;
              &lt;div class="buttons"&gt;
                  &lt;a href="javascript:parent.jQuery.fancybox.open({href : '&lt;%=UrlRewriter.GetUrlForSystemName("MyPage")%&gt;'})" class="cookie_button settings"&gt;Instellingen&lt;/a&gt;
                  &lt;a href="javascript:void(0);" class="cookie_button accept"&gt;Accepteren&lt;/a&gt;
              &lt;/div&gt;
          &lt;/div&gt;
      &lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p><strong>JAVASCRIPT:</strong></p>
  
  <pre><code>$(document).ready(function(){
            $("a#myUrl").fancybox({
                  'closeClick': false,
                  'modal': false,
                  'closeBtn': false,
                  'width': '400px',
                  'height': '200px',
                  'autoSize': false,
                  'padding': 10,
                  'margin': 0
              });
  
            $('a#myUrl').trigger('click');
  });
  </code></pre>
  
  <p>The fancybox contains two hyperlinks. One which executes some javascript (the button with the class 'cookie_button accept') and another one which should send the user to an specific url <em>inside</em> the currently active fancybox.</p>
  
  <p>I've already tried various options from the <a href="http://fancyapps.com/fancybox/#examples" rel="nofollow">Fancybox website</a>, but none of them are giving me the desired result. One of the examples (the one with the iFrame) has the functionality I want, however this one navigates from an fancybox with the type 'iFrame' to another one with the same type. What i'm trying to do here is to navigate from an fancybox of the type 'inline' to an fancybox of the type 'iFrame'. Is this even possible? Or are there other ways to achieve this?</p>