Wrox Home  
Search P2P Archive for: Go

  Return to Index  

javascript thread: how to force a web page stay in a iFrame


Message #1 by tzhang@h... on Mon, 8 Apr 2002 20:16:29
Hi:

I am creating a web page containing several iFrames.  Each iFrame is 
linked to a public web site.

The problem is: some site's home page contains the following JavaScript ---
- "if (top != self) {top.location = location}", which brings their site to 
the top.  Are there anyway to force the site to stay in the iFrame??

I am using IE5.5.

Thanks!

  Return to Index