Forum Moderators: phranque
ok...cus i dont know a different word either, i only found out about the whole phenomenon of page breaking out of frames yesterday...
but to make a long story short....i dropped the frames
so this thread may be deleted..
before that i wanted to try with hotlink redirection or something, only cus the backbutton wouldnt work if i used javascript to force the page in a frame...but i never knew if i used location.replace it kept the backbutton functionality intact
:P
A client-side solution (JavaScript) is probably the best solution, since your server won't know that your page is being framed.
There are many 'broken' versions of the frame-buster script out there, but it is possible to code it so that the back button works and the browser session history is correct.
I have used
<script language="JavaScript1.1" type="text/JavaScript"><!-- // hide from old browsers
if (parent.frames.length > 0) top.location.replace(document.location); // Escape referring site's frame, preserve one-click "Back". -->
</script>
Jim