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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Text in status bar in IE

Status
Not open for further replies.

breslinc

Technical User
Oct 7, 2002
22
US
how do i change the link in the status bar to a text that I write?


Thanks
 
It's a JavaScript. You'll need to insert the code into the page for each link:

Insert the following code into the heading.

<SCRIPT language=&quot;JavaScript&quot;>

function write_it(status_text)
{
window.status=status_text;
}

-->
</SCRIPT>

Insert this code into your link

<A HREF=&quot; onMouseover=&quot;write_it('Add your text here');return true;&quot; onMouseout=&quot;write_it('');return true;&quot;>Link Text</A>
 
Or you can one line it just in the links:
<A HREF=&quot; onMouseover=&quot;window.status=('Say something here'); return true;&quot; onMouseout=&quot;window.status=(''); return true;&quot;>Link Text</A>

The mouseout will cause the message to go away until the mouse moves back over another link. No need to put script in the header this way.
DeZiner
Never be afraid to try something new.
Remember that amateurs built the Ark.
Professionals built the Titanic
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top