Forums
New posts
Articles
Product Reviews
Policies
FAQ
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Menu
Log in
Register
Install the app
Install
Forums
Digital Lifestyle
Web Design and Hosting
Back button overlay iframe's content
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Raz0rEdge" data-source="post: 1842530" data-attributes="member: 110816"><p>Thread moved to the correct sub-forum.</p><p></p><p>The iframe should be loading the content from the SRC file, and there should be no reason you should be getting that crossed on a page reload or going back. The parent page will load and all the iframes should reload their data appropriately.</p><p></p><p>Does this crosstalk issue exist in other browsers (Chrome, Firefox, etc.) or is it purely a Safari thing?</p><p></p><p>I tested the following in Safari and Brave and had no issues. I went to page 2 and hit the Back button to go back.</p><p></p><p>Boil your code down to the basics to ensure that it is working and then work up from there.</p><p></p><p>Index page</p><p>[CODE]</p><p><HTML></p><p><HEAD></p><p><TITLE>Frame Test</TITLE></p><p></HEAD></p><p><BODY></p><p><H1>This is the parent page</H1></p><p><IFRAME SRC="frame1.html"></IFRAME></p><p><BR /></p><p><IFRAME SRC="frame2.html"></IFRAME></p><p><BR /></p><p><A HREF="page2.html">Page 2</A></p><p></BODY></p><p></HTML></p><p>[/CODE]</p><p></p><p>Frame 1</p><p>[CODE]</p><p><HTML></p><p><HEAD></p><p><TITLE>Frame 1</TITLE></p><p></HEAD></p><p><BODY></p><p><H2>This is frame 1</H2></p><p></BODY></p><p></HTML></p><p>[/CODE]</p><p></p><p>Frame 2</p><p>[CODE]</p><p><HTML></p><p><HEAD></p><p><TITLE>Frame 2</TITLE></p><p></HEAD></p><p><BODY></p><p><H2>This is frame 2</H2></p><p></BODY></p><p></HTML></p><p>[/CODE]</p><p></p><p>Page 2</p><p>[CODE]</p><p><HTML><HEAD></p><p><TITLE>Page 2</TITLE></p><p></HEAD></p><p><BODY></p><p><H2>This is page 2</H2></p><p></BODY></p><p></HTML></p><p>[/CODE]</p></blockquote><p></p>
[QUOTE="Raz0rEdge, post: 1842530, member: 110816"] Thread moved to the correct sub-forum. The iframe should be loading the content from the SRC file, and there should be no reason you should be getting that crossed on a page reload or going back. The parent page will load and all the iframes should reload their data appropriately. Does this crosstalk issue exist in other browsers (Chrome, Firefox, etc.) or is it purely a Safari thing? I tested the following in Safari and Brave and had no issues. I went to page 2 and hit the Back button to go back. Boil your code down to the basics to ensure that it is working and then work up from there. Index page [CODE] <HTML> <HEAD> <TITLE>Frame Test</TITLE> </HEAD> <BODY> <H1>This is the parent page</H1> <IFRAME SRC="frame1.html"></IFRAME> <BR /> <IFRAME SRC="frame2.html"></IFRAME> <BR /> <A HREF="page2.html">Page 2</A> </BODY> </HTML> [/CODE] Frame 1 [CODE] <HTML> <HEAD> <TITLE>Frame 1</TITLE> </HEAD> <BODY> <H2>This is frame 1</H2> </BODY> </HTML> [/CODE] Frame 2 [CODE] <HTML> <HEAD> <TITLE>Frame 2</TITLE> </HEAD> <BODY> <H2>This is frame 2</H2> </BODY> </HTML> [/CODE] Page 2 [CODE] <HTML><HEAD> <TITLE>Page 2</TITLE> </HEAD> <BODY> <H2>This is page 2</H2> </BODY> </HTML> [/CODE] [/QUOTE]
Verification
Post reply
Forums
Digital Lifestyle
Web Design and Hosting
Back button overlay iframe's content
Top