hi,
I have the following problem and i'm not able to solve it.
I have a web server on my machine. If the web server is down and i try
to connect to it, with IE, the bar title is "Cannot find the server".
If I enable the web server and i make a page Refresh (also with ie
cache disabled) the title remains "Cannot find the server" also if i'm
able to view the content of the http server.
I tryed to insert a js on index.html (between the HEAD tag) to refresh the title, but it doesn't work.
example:
<script language="JavaScript"> <!--
// ========================== // (C) 2000 by CodeLifter.com // http://www.codelifter.com // Free for all users, but leave in this header
function doTheClock() { window.setTimeout( "doTheClock()", 1000 ); t = new Date(); if(document.all || document.getElementById){ document.title = "Hey, you're on my page "+t.toString(); }else{ self.status ="Hey, you're on my page "+ t.toString(); } }
doTheClock()
//--> </script>
|
Is there a vay to change the title bar in this situation?
TIA