When I try to use fancybox to open an iframe and scroll to an anchor tag, it works perfectly in IE but not consistently in other browsers. It stops at a different place than the anchor.
I suspect the issue may be related to JavaScript based on information I found here: . However, I am having trouble fixing my code accordingly.
Here is the link:
<a class="various fancybox.iframe" href="cost_of_hire.php#cupcakeanchor"><img src="images/services/4.jpg" alt="" /></a>
And the anchor:
<a name="cupcakeanchor">CUP CAKE MAKING PARTY<br />£0.00</a>
Any assistance would be greatly appreciated. Thanks
PS.: In IE everything is functioning properly, while in Chrome and Firefox 8 out of 12 links work fine, in Safari 6 work correctly, and in Opera none of them work as expected.