si************@gmail.com said the following on 5/3/2007 5:31 PM:
So here's the situation. I have a page with an IFRAME. I load into
that IFRAME a particular website (it's actually GMAIL.) However, my
site disappears, and gmail becomes the new webpage. one of the firs
few lines are:
if (top.location != self.location) {
top.location = self.location.href;
}
It is called "frame busting code".
I believe that my problem.
No, it only points to the problem.
Any way around it?
Yes, stop trying to display other websites content on your website and
the "problem" goes away.
--
Randy
Chance Favors The Prepared Mind
comp.lang.javascript FAQ -
http://jibbering.com/faq/index.html
Javascript Best Practices -
http://www.JavascriptToolbox.com/bestpractices/