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
Safari doesn't get opener.parent.location.href
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="lleoun" data-source="post: 784174" data-attributes="member: 56368"><p>Hi all,</p><p></p><p>Let's say I have the following:</p><p></p><p>Granddad.htm (An html page with an iframe containing Dad.htm)</p><p> |</p><p>Dad.htm (the page contained in Grandad.htm's iframe)</p><p> |</p><p>Son.htm (an iframe inside Dad.htm containing Grandson.htm)</p><p> |</p><p>Grandson.htm (the page contained in Son.htm's iframe that has a link to a popup which shows Greatgrandson.htm)</p><p> |</p><p>Greatgrandson.htm (the pop up page with several links)</p><p></p><p>I want to open the Greatgrandson.htm links in Dad.htm</p><p></p><p>So in Greatgrandson.htm I have:</p><p></p><p>[CODE]<script language="javascript"></p><p> function loadinparent(url){</p><p> opener.parent.location.href = url;</p><p> self.close();</p><p> }</p><p></script></p><p></head></p><p><body></p><p><a href="javascript:loadinparent('http://www.apage.com', false);" > Open a page</a>[/CODE]</p><p></p><p></p><p>And this is working great for all browsers except for Safari .. Please help I need it working also on Safari!!</p><p>Thanks in advance!</p></blockquote><p></p>
[QUOTE="lleoun, post: 784174, member: 56368"] Hi all, Let's say I have the following: Granddad.htm (An html page with an iframe containing Dad.htm) | Dad.htm (the page contained in Grandad.htm's iframe) | Son.htm (an iframe inside Dad.htm containing Grandson.htm) | Grandson.htm (the page contained in Son.htm's iframe that has a link to a popup which shows Greatgrandson.htm) | Greatgrandson.htm (the pop up page with several links) I want to open the Greatgrandson.htm links in Dad.htm So in Greatgrandson.htm I have: [CODE]<script language="javascript"> function loadinparent(url){ opener.parent.location.href = url; self.close(); } </script> </head> <body> <a href="javascript:loadinparent('http://www.apage.com', false);" > Open a page</a>[/CODE] And this is working great for all browsers except for Safari .. Please help I need it working also on Safari!! Thanks in advance! [/QUOTE]
Verification
Post reply
Forums
Digital Lifestyle
Web Design and Hosting
Safari doesn't get opener.parent.location.href
Top