Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

To make the status bar display the same message

Status
Not open for further replies.

teachmejava

Programmer
Dec 12, 2006
2
BR
Hi,just like to say thanks for any help i can get.
Ok,the problem is how do display the same message in the
status bar before and after the page being loaded.
I don't want the "download from or
"opening from to be displayed on the
status bar.Can anybody help?
 
Use javascript to set window.status. Something like ...

<body onLoad=&quot;window.status='Welcome to my page'&quot;>

should work.

Greg.
 
or if it changes when you mouseover a link you could do this:

<body onMouseOver=&quot;window.status='welcome to my page'&quot;>

that would make it permanent.
 
However the messages &quot;Downloading from ...&quot; and &quot;Opening page ...&quot; are displayed before the full HTML is loaded or before JavaScript is even active. I really don't believe that you can avoid those status messages. Sorry. :-(

But the other suggestions will at least keep the status bar to display the same thing when the user is on your page. Einstein47
(Love is like PI - natural, irrational, endless, and very important.)
 
try defaultStatus.

right at the top of your page, just under the title or meta tags, insert this:

<script language=&quot;javascript&quot;>
window.defaultStatus='welcome to my page!';
</script>


that might work...its worth a try Robert Carpenter
questions? comments? thanks? email me!
linkemapx@hotmail.com
Icq: 124408594
online.dll

AIM & MSN: robacarp
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top