On this page ...
Changing the title of your
browser from within a frame
When using frames, the titlebar of
your browser will not automatically adapt to the title used for
the window opened in a frame.
Change the titlebar of the browser
from within a frame can done by this little trick: change the <BODY>
tag of the documents to be opened in a frame, to:
|
 |
Copy the title
<body OnLoad="parent.document.title=document.title">
The parent (the HTML file with the frameset
definition) will now get the title used in the child window (defined with
the <TITLE> tag).
|