Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - Problem refreshing Browser bar  title
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Problem refreshing Browser bar title

 Post Reply Post Reply
Author
trizzi_it View Drop Down
Newbie
Newbie


Joined: 02 October 2003
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote trizzi_it Quote  Post ReplyReply Direct Link To This Post Topic: Problem refreshing Browser bar title
    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
// 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


Back to Top
michael View Drop Down
Senior Member
Senior Member
Avatar

Joined: 08 April 2002
Location: United States
Status: Offline
Points: 4670
Post Options Post Options   Thanks (0) Thanks(0)   Quote michael Quote  Post ReplyReply Direct Link To This Post Posted: 02 October 2003 at 7:30am
I believe it's a IE problem and has nothing to do with your code...
Back to Top
trizzi_it View Drop Down
Newbie
Newbie


Joined: 02 October 2003
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote trizzi_it Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
zMaestro View Drop Down
Senior Member
Senior Member


Joined: 11 May 2003
Location: Egypt
Status: Offline
Points: 1183
Post Options Post Options   Thanks (0) Thanks(0)   Quote zMaestro Quote  Post ReplyReply Direct Link To This Post 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.

Back to Top
fernan82 View Drop Down
Mod Builder Group
Mod Builder Group
Avatar

Joined: 17 November 2002
Location: United States
Status: Offline
Points: 362
Post Options Post Options   Thanks (0) Thanks(0)   Quote fernan82 Quote  Post ReplyReply Direct Link To This Post Posted: 02 October 2003 at 6:19pm

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

Hope that helps.

Back to Top
Mart View Drop Down
Senior Member
Senior Member
Avatar

Joined: 30 November 2002
Status: Offline
Points: 2304
Post Options Post Options   Thanks (0) Thanks(0)   Quote Mart Quote  Post ReplyReply Direct Link To This Post Posted: 05 October 2003 at 5:10am
or <title>title here</title> in you <head>!!!
Back to Top
trizzi_it View Drop Down
Newbie
Newbie


Joined: 02 October 2003
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote trizzi_it Quote  Post ReplyReply Direct Link To This Post 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.

Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.