Try

     <script language="JavaScript">
     <!--
       if (window.parent = self) {
         alert('In Main Window');
       }else {
         alert('In Popup Window');
       }
     // -->
     </script>

HTH

Dick


At 9:32 AM -0500 1/19/01, Robert Forsyth wrote:
>Sorry for the off topic question...
>
>Does anyone now how to prevent someone from accessing a page that is 
>supposed to be shown only in a popup window.  I.E. I use a video 
>player that is embedded in a popup window and I want to make sure 
>that someone cannot access the template directly in a full browser 
>window.
>
>Any help?
>
>Robert Forsyth
>Director of Web Operations
>Irides, LLC
>[EMAIL PROTECTED]
>Phone: 202-364-7831
>   Fax: 202-364-2481
>
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to