"Ian Renfrew" <ia*********@sympatico.ca> wrote in message
news:WM********************@news20.bellglobal.com. ..
Yes I did. The work around code produces the desired result.
(i.e. Instead of seeing 'DOCUMENT TITLE - Microsoft Internet Explorer' in
the title, I now see 'DOCUMENT TITLE ...'.)
I was hoping for a more elegant solution, but this will have to do for
now.
... Ian
[snip]
I tested it under IE5.5, FF1.0 and NS6.2 and saw no change to the title in
the Title Bar at the top of the browser.
Here's the code I used:
<html>
<head>
<title>titlex.htm</title>
<script type="text/javascript">
var documentTitle = "DOCUMENT TITLE";
for (var i=0; i<300; i++) { documentTitle += " "; }
document.write("<title>"+documentTitle+"</title>");
</script>
</head>
<body>
</body>
</html>
When I changed the last line to:
document.title = documentTitle;
Under NS6.2 I saw no change.
Under IE5.5 I saw (one one line):
DOCUMENT
TITLE &nb sp;  
; &nb - Microsoft Internet Explorer p
Under FF1.0 I saw (one one line):
DOCUMENT TITLE
&n bsp; &nbs
p; &nb
(which filled up the entire Title Bar)