Wrox Home  
Search P2P Archive for: Go

  Return to Index  

javascript_howto thread: FRAMED


Message #1 by "Pallone, Claudio [KMR-SPC]" <Claudio.Pallone@k...> on Fri, 13 Sep 2002 17:58:08 +0100
Hi,

I have a page called Login.aspx. I have added some javascript code at 
the head of this page so that everytime the user session expires, this 
page is displayed on top of every frame. But this is not working. I 
think it would work if login.aspx was a frame page but it is just a page 
with no framesets.

This is the code I am using:

<HEAD>
		<title>Choices.NET - Login Page </title>
		<link rel=3D"stylesheet" href=3D"../main.css" type=3D"text/css">
		<script language=3D"Javascript">
			if (parent !=3D window)
			{
				parent.location =3D window.location;
			}
		</script>
</HEAD>

Basically what I want to do is to make sure this page is displayed on 
top of every frame in my browser.

Could you someone help me to find a solution for that??

Cheers,

Claudio


BMRB International
http://www.bmrb.co.uk +44 (0)20 8566 5000
____________________________________________________________
This message (and any attachment) is intended only for the recipient and 
may contain confidential and/or privileged material. If you have 
received this in error, please contact the sender and delete this 
message immediately. Disclosure, copying or other action taken in 
respect of this email or in reliance on it is prohibited. BMRB 
International Limited accepts no liability in relation to any personal 
emails, or content of any email which does not directly relate to our 
business.

  Return to Index