Forum Moderators: open
head section (either inline or as a separate file as required): <script type="text/javascript">
if (parent.frames.length > 0) {
parent.location.href = self.document.location
}
</script> The script checks to see if the page is within a frame, and if so, it reloads just the page itself without the frame around it.
Also, using top rather than parent may be preferred. I tend to use something like this
if (top!= self) top.document.replace(self.location.href);
However, if you use frames yourself, it gets a bit more complicated.
Kaled.