Must have missed the rest of this thread.  The code below will work fine
unless your site uses frames.  I wrote a slightly more involved set of
functions to handle this some years back.  Check out
http://www.sightspecific.com/~mosh/Tricks/Unframe/ for the details.

--
Mosh Teitelbaum
evoch, LLC
Tel: (301) 942-5378
Fax: (301) 933-3651
Email: [EMAIL PROTECTED]
WWW: http://www.evoch.com/


> -----Original Message-----
> From: jon roig [mailto:[EMAIL PROTECTED]
> Sent: Friday, March 07, 2003 2:32 PM
> To: CF-Talk
> Subject: RE: HTML re-direct
>
>
> Actually.... this bit of javascript will bust your page out of any frame:
>
> <script>
>
> if (parent.frames.length > 0) {
>     parent.location.href = self.document.location
> }
>
> </script>
>
>
>       -- jon
>
>
> 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm

                                Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
                                

Reply via email to