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!

Status Bar with CSS

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
hi folks!

Could somebody please tell me how to set a text in the status bar with dreamweaver, which will never change even when a user points on a link or when downloading a new page, it will just show that set text?

thanks
 
Dreamweaver?

But, you can use this very simple script. The part in the head sets the initial status to "Hello World".

The added part in the link keeps it saying that.

I am sure there is a way to specify in the initial script to not change the status bar, Maybe someone will add that here for you

<head>


<script language=&quot;javascript&quot; type=&quot;text/javascript&quot;>


myMsg=&quot;Hello World&quot;

function stsMsg() {

window.status=myMsg

}

</script>

</head>

<body bgcolor=&quot;#FFFFFF&quot; onload=&quot;stsMsg()&quot;>


<a href=&quot;mysite&quot; onMouseover=&quot;window.status='Hello World'; return

true&quot;>My Link</a>

Good Luck! s-)
 
DeZiner, it looks like Darren wants the message on the status bar all the time. I guess in this case, he should insert something like this:

Code:
function myStatus(){
window.status=&quot;your permanent message&quot;
t=setTimeout(&quot;myStatus()&quot;,100)
}

and in the body tag:
<body onload=&quot;myStatus()&quot;>

HTH ---
---
 
window.defaultStatus =&quot;I'm here always.&quot;
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top