iframe has refresh to top

N

nodiseos

I have a page that has mulitple iframes each of which grabs a web page.
he problem is I have no control over these web pages and some of them
have a refresh if they are not the top browser, probably some code like
this:

if (top.location != self.location) {
top.location = self.location.href;
}

Is there anyway I can prevent these occasional pges from taking control
oer my main page?
 
R

Randy Webb

(e-mail address removed) said the following on 3/2/2006 2:48 PM:
I have a page that has mulitple iframes each of which grabs a web page.
he problem is I have no control over these web pages and some of them
have a refresh if they are not the top browser, probably some code like
this:

if (top.location != self.location) {
top.location = self.location.href;
}

Is there anyway I can prevent these occasional pges from taking control
oer my main page?

Yes. Stop putting other peoples content in your IFrames and the problem
goes away.
 
D

d

Randy Webb said:
(e-mail address removed) said the following on 3/2/2006 2:48 PM:

Yes. Stop putting other peoples content in your IFrames and the problem
goes away.

Fantastic help there. Really great stuff.
 
T

Thomas 'PointedEars' Lahn

d said:
"Randy Webb" [...] wrote [...]
(e-mail address removed) said the following on 3/2/2006 2:48 PM:
Yes. Stop putting other peoples content in your IFrames and the problem
goes away.

Fantastic help there. Really great stuff.

Yes, indeed. Here are some more hints:

<URL:http://example.com/>
<URL:http://www.whois.net/whois.cgi2?d=example.com>
<URL:http://www.rfc-editor.org/rfc/rfc1036.txt>
<URL:http://www.rfc-editor.org/rfc/std/std11.txt>
<URL:http://www.blueyonder.co.uk/blueyonder/getContent.jspx?page=h_services_aup>
<URL:http://jibbering.com/faq/faq_notes/pots1.html>


PointedEars
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,431
Messages
2,571,677
Members
48,796
Latest member
Greg L.

Latest Threads

Top