title: click anchor inside a highslide event
body: <p>I'm using the <a href="http://highslide.com/" rel="nofollow">HighSlide</a> library to show an external HTML page in a iFrame. Once the external HTML content has been loaded I want to navigate to an anchor/hash link inside the iframe. I'm using the onAfterExpand event to try to click my link, but the click is not performed:</p>
  
  <pre><code>$('.show-hidden-comment').click(function()
  {
      var anchorId = $(this).attr('id');
  
      hs.Expander.prototype.onAfterExpand = function (sender)
      {
          var body = sender.body;
          var iFrame = $(body).find("iframe");
          var anchorLink = iFrame.contents().find("#" + anchorId);
          anchorLink.click();
      }; 
  
      return hs.htmlExpand(this, { objectType: 'iframe' });
  });
  </code></pre>