Hello all,
I have a web page using frames. If people bookmark single pages or come through a Search Engine it could be that they open pages without being in the frameset. I could use Javascript to tell each page to look for the frameset, etc.:
script language=javascript type="text/javascript">
<!-- Hide script from old browsers
if (top.location == self.location) {
top.location.href = "frameset2.html"
}
// End hiding script from old browsers -->
</script>
My question is - before I put it on each page:
If I see this script right - it will always link the user to the main home page and not to the page they have actually bookmarked. That's not what I want. Is there a way to tell the frameset just to load the bookmarked page in the frame set and not the main page? I want people to be able to bookmark single pages but when they reopen them later on, that the frameset is being loaded 'around' the bookmarked page. Any ideas?
Thanks!
Christoph





Bookmarks