Forum Moderators: open
I was wondering if anyone had any clever javascript technique that allows the frames context to be re-established without affecting the back button functionality.
I am aware of the following code that unfortunately disables such functionality:
<SCRIPT LANGUAGE="JavaScript">
<!--
if (top == self) self.location.href = "FRAMESET PAGE NAME HERE";
// -->
</SCRIPT>
Try using ".replace" to preserve the history, rather than adding a new history entry:
if (parent.frames.length == 0) top.location.replace('myframeset.html');
HTH,
Jim