|
Does anyone know a way to force the construction of a frameset if someone links to a page that is typically only displayed within a frame?
e.g. Person A finds a link to content.html on a search engine but that page is normally contained within a frameset and as such has no navigation elements. Is there a way to force the drawing of the frameset so the header frame is shown?
I know you can use the below code to detect if the frame is there, and if it isn't to redirect to the frameset, but then the person is on the homepage rather than the content page they wanted. Any thoughts?
<script> if (top == self) self.location.href = "frames.htm";</script>
Thanks.
|