Also sprach Thomas Schneider:
> Ist Englisch in dieser Newsgroup Pflicht?
Ja.
> Sonst könnten wir das auch auf deutsch machen.
Dafür gibt's z.B. de.comm.infosystems.
www.authoring.misc oder andere.
> I have a web address at 1&1. It is only a kind of forwarding. But they
> do this forwarding by generating a frameset with one frame not visible
Ok, now I understand the problem.
>> top.location.href = 'another_page_outside_of_the_frameset.html';
I forgot: You must check if the page is not already in the "top", otherwise
you create an infinite loop. See below.
> I tried to use something like this with onload="" in the body, but
You can put it directly in the head. No need to let the user wait until the
page is loaded.
> I must have done sth. wrong, because it didn't work. Can you help
> me with more details!
Put this in the head of the page which is loaded into the frameset and
supposed to be outside of it:
<script type="text/javascript">
if (top != self) top.location.replace(self.location);
</script>
Of course, this will not work if the user has JavaScript disabled. The best
solution for you would be indeed what kchayka suggests.