Wrox Home  
Search P2P Archive for: Go

  Return to Index  

javascript thread: Test for existence of frame


Message #1 by "Alex Shiell, ITS, EC, SE" <alex.shiell@s...> on Thu, 28 Jun 2001 15:45:39 +0100
perfect, thanks!

-----Original Message-----
From: Phil Griffiths [mailto:pgtips@m...]
Sent: 29 June 2001 15:54
To: javascript
Subject: [javascript] Re: Test for existence of frame


How about this test (seems to work in IE4):
if (parent == self) 
  alert('not framed'); 
else 
  alert('framed');

Phil



  Return to Index