Amy McCrory wrote:

> Here's the problem: an open Web search of key terms from the finding aid 
> lands the searcher on a page such as SPEC.CGA.TMb.html or 
> SPEC.CGA.TMseries2.html, and the page in question appears without the 
> frameset.  This means that many of the finding aid's navigation links 
> are lost.
> Is there a better way of coding the HTML, so that the frameset always 
> appears with any of the pages?

Hi Amy

A little Javascript is commonly used to check if a page is within a 
frameset, and redirect if not, e.g.:

<body onload="if (top == self) self.location.href = 'SPEC.CGA.TMf.html';" >

But this will only then load the frameset in its initial state, not with 
any particular finding aid showing.

It'd be nice to see a URL and see what exactly you've done and whether 
it could be made to work as you suggest. However, my instinct is that I 
probably wouldn't start from here.

Why not instead embed the TOC within the Finding Aids, and generate a 
single, self-contained page each time, with a unique URL, rather than a 
frameset? Use <div>s and CSS to achieve the same layout as your frameset.



\ Richard M Davis
/ Digital Archives Specialist
\ University of London Computer Centre
/ Tel: +44 (0) 20 7692 1350
\ mailto: [log in to unmask]