Wrox Home  
Search P2P Archive for: Go

  Return to Index  

javascript thread: Frames Question


Message #1 by andy@a... on Thu, 8 Mar 2001 12:02:48
This checks the URL of the page and redirects to the
original page if its a new window.

<script language=javascript>
function check()
{
var loc;
loc = window.parent.location;
if (loc != "urlofframesetpage")// if its a new window
{
	window.parent.location = "urlofframesetpage";
}
}
</script>

--- andy@a... wrote: > Hi
> 
> I've a framed web site (Yeah I know)
> 
> Does anyone know how I can recreate the frame set
> when a user goes to an 
> individual page.
> 
> Thanks
> 
> Andy Green

  Return to Index