Print Page | Close Window

Problem refreshing Browser bar title

Printed From: Web Wiz Forums
Category: General Discussion
Forum Name: General Discussion
Forum Description: General discussion and chat on any topic.
URL: https://forums.webwiz.net/forum_posts.asp?TID=6103
Printed Date: 30 March 2026 at 3:03am
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: Problem refreshing Browser bar title
Posted By: trizzi_it
Subject: Problem refreshing Browser bar title
Date Posted: 02 October 2003 at 4:18am
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 - 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





Replies:
Posted By: michael
Date Posted: 02 October 2003 at 7:30am
I believe it's a IE problem and has nothing to do with your code...

-------------
http://baumannphoto.com" rel="nofollow - Blog | http://mpgtracker.com" rel="nofollow - MPG Tracker


Posted By: trizzi_it
Date Posted: 02 October 2003 at 7:45am
Quote
I believe it's a IE problem and has nothing to do with your code...


Sorry for my insistence, but  is there nothing to do to avoid this problem?
(Excluding re-launching another IE page, obiusly )
Thanks


Posted By: zMaestro
Date Posted: 02 October 2003 at 8:22am

i face this thing sometimes too... but i don't think it is a problem...

opening a new browser will come over it.



Posted By: fernan82
Date Posted: 02 October 2003 at 6:19pm

Try adding onLoad="document.title = 'Title Here';" to the <body> tag on your page.

Hope that helps.



Posted By: Mart
Date Posted: 05 October 2003 at 5:10am
or <title>title here</title> in you <head>!!!


Posted By: trizzi_it
Date Posted: 06 October 2003 at 2:01am
Quote
or <title>title here</title> in you <head>!!!


Thanks for your answers, but any solutuion that you proposed me it was just applied. Th eproblem still remains. Unluckly I have to use ie, and I cannot switch to mozilla or other browser.




Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net