Posted by Chris Beall on 01/22/24 11:38
scully wrote:
> I need to build a sitemap for a site 30 or so content pages within 4
> different framesets.
> is it possible to link to a specific page and have it load within its
> correct frameset??
> if so how?
> thanks in advance
> scul
scul,
No.
However, if the following (which I 'borrowed' from someone else's site),
is placed in the head section of each content page (with appropriate
tailoring of the 'dingbase' variable) it will cause the page to
immediately reload within the specified frame.
<script type="text/javascript" LANGUAGE="Javascript">
var dingbase = "right_frames.html";
if (self == top) {
top.location.replace(dingbase + this.location.hash);
}
</SCRIPT>
Your sitemap link would then point to the content page. When the
content page loaded, it would reload itself inside the specified frame.
Also, any search engine links to the content page would get the same result.
Note that this will work only if the user has JavaScript enabled.
This post should not be construed as an endorsement for the use of frames...
Chris Beall
[Back to original message]
|