Hi Kayla,
This might help. Guido Stevens posted it awile back and I used it in a
article. It is a bit more portable than what you have.
<script language="JavaScript">
if (window.self != window.top) {
window.top.location.replace(window.self.location.href);
}
</script>
I'm sure there are other ways to keep pages out of frame sets but I dont
know of any way to legally force a page into your frame set. You could
parse it and strip out the protection or modify it but we know thats not
right.
Here is an idea? not up on frames all that much but...
have your app check and if a page is going to load on top stuff the whole
thing inside a new frame set and let it come to the top inside the original
frame?? Would that work?
I'd like to know more about that little "app" you are using. ;-)
Ron
At 05:39 PM 8/26/98 -0700, Kayla Block wrote:
>Urm...maybe I need to explain the point a bit better. I have an app that
>can put web pages inside of a frameset. (It's a bit more complex, but let's
>leave it at that for a moment.) There are some websites that will bounce
>the user out of my frameset if they try to open the other web site in my
>frameset.
>
>Yeesh, I hope this makes sense....
>
>Kayla (feeling not terribly lucid)
>
>At 07:55 PM 8/26/98 -0400, you wrote:
>>At 02:46 PM 8/26/98 -0700, you wrote:
>>>Wondering what all the different ways of keeping pages out of framesets
>>>might be. I can think of a few but am wondering what additional ways the
>>>rest of you might use.
>>>
>>>One example:
>>>if (self != top) {
>>> top.location.replace('http://myhomepage.com');
>>>}
>>>
>>>Thanks,
>>>Kayla
>>>
>>
>> well, if they don't have javascript enabled :
>>
>> Trapped in a Frame? <A HREF="http://mysite.com/" target="_top">
>> <B>LIBERATE YOURSELF!</B></A>
>>____________________________________________________________________
>>--------------------------------------------------------------------
>> Join The Web Consultants Association : Register on our web site Now
>>Web Consultants Web Site : http://just4u.com/webconsultants
>>If you lose the instructions All subscription/unsubscribing can be done
>>directly from our website for all our lists.
>>---------------------------------------------------------------------
>>
>>
>____________________________________________________________________
>--------------------------------------------------------------------
> Join The Web Consultants Association : Register on our web site Now
>Web Consultants Web Site : http://just4u.com/webconsultants
>If you lose the instructions All subscription/unsubscribing can be done
>directly from our website for all our lists.
>---------------------------------------------------------------------
>
____________________________________________________________________
--------------------------------------------------------------------
Join The Web Consultants Association : Register on our web site Now
Web Consultants Web Site : http://just4u.com/webconsultants
If you lose the instructions All subscription/unsubscribing can be done
directly from our website for all our lists.
---------------------------------------------------------------------