Hi.
I'm trying to reference a bookmark using the object tag element.
I've tested this in Safari and Firefox, same files different results. Firefox jumps to the section in the object element with no issues. But Safari merely loads the iframe.html file and doesn't jump to the bookmark.
My test.html
My iframe.html
Any ideas why there is inconsistent behavior and is there work-around?
Thanks.
Philip
I'm trying to reference a bookmark using the object tag element.
I've tested this in Safari and Firefox, same files different results. Firefox jumps to the section in the object element with no issues. But Safari merely loads the iframe.html file and doesn't jump to the bookmark.
My test.html
Code:
<html>
<head>
<body>
<div><object data="iframe.html#section4"></object></div>
</body>
</html>
My iframe.html
Code:
<html>
<head>
<body>
<a href="#section4">Section 4</a>
<br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br>
<a id="section4">Section 4</a><br>
You have reached section 4.
</body>
</html>
Any ideas why there is inconsistent behavior and is there work-around?
Thanks.
Philip