PDA

View Full Version : Frames Pages Addresses


Chris McLean
08-29-2002, 12:08 PM
I am trying to set up a website which includes articles for external
students. I have the following problem:

It seems to be standard that within a framed website, no matter what page you are on, the same address is shown in the address bar at the top of the page. This has problems on academically orientated sites, as it makes it difficult for people to give correct page references. If they know what they are doing they can get the exact address of the frame they want, by looking
at its properties. However, if they put this address in their references, the link, when followed by someone else, will open up without the navigation frame. This is not desirable, as it removes the reference from its context. (Also, in my experience, most people don't know how to find the exact address of a frame anyway.)

Is there any way to set up a framed website so that the exact address of each framed page is shown in the address line at the top of the page, and hence recorded in detail when being bookmarked or referenced?

Chris McLean

Mr J
08-29-2002, 03:00 PM
The following may work

But would have to be included in all the pages that requires the address to be shown


<script language="javascript">
<!--
top.document.title=document.location.href
// -->
</script>