Caveat: The js code needs to appear *below* HTML title tags:
<title>foo</title>
<script type="text/javascript">
top.document.title=document.title;
</script>
Murkier and murkier.....
Mick
James Shook wrote:
Quote:
script language="javascript" type="text/javascript"
top.document.title=document.title
/script
This will fail without an error message in NN4 and possibly other
browsers. It really shouldn't work at all since document.title is
supposed to be read-only. In any event, I wouldn't create design such
that requiring this to work is necessary for the usability of the site.
Of course, if you didn't use frames you wouldn't have to wade into such
murky waters. |