Hi
the solution that you (Jaymol) want, seems a little conflictive. Since you need the focus to change the status messages properly, but then again you don't want the focus to be active...
misterH
Main Topics
Browse All TopicsHi.
I've got 2 problems really, but they're the same issue. Basically, I've got text links on a web page, defined to do the usual window.status stuff when the mouse goes over or leaves. The problems that I have are when you click the text.
1. The window status shows the actual link url when the mouse is down
2. The text gets focus and therefore has a border round it.
How can I resolve these 2 problems?
Thanks in advance,
John.
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Greetings,
1. <<The window status shows the actual link url when the mouse is down>>
This code for the onMouseDown event changes the status display right after the mouse went down:
<a href="#" id="Link1" onMouseDown=setTimeout("wi
2. <<The text gets focus and therefore has a border round it.>>
Kill the focus at any point: Link1.Blur
Best regards,
Esopo
My mistake, the blur thing is Link1.blur(). You can use it the same way you are using the other, with a timeout:
onMouseDown=setTimeout("Li
Now, to get the behavior you wanted you´ll need both hapenning at the same time with the onMouseDown event, I suggest you use a function for that:
Place this script at the head of your html:
*****************
<script language="JavaScript">
function DoStatus(){
setTimeout("Link1.blur()",
setTimeout("window.status=
}
</script>
*****************
<a href="#" id="Link1" onMouseDown=DoStatus()>Som
Enjoy :)
Esopo
Business Accounts
Answer for Membership
by: dorwardPosted on 2003-09-19 at 01:38:34ID: 9391967
(1) The best option for this is to leave window.status alone.
There are two reasons people generally try to much about with it:
1. Security
Except it doesn't provide any, the information is still available to the user if they bother to look.
2. To display a helpful message
This is better achieved with the title attribute: <a href="foo" title="Foo: The la la la">Bar</a>
- either way, window.status doesn't provide any benefits for which there aren't better alternatives.
(2) This is an accessibility feature - not everyone uses a mouse to follow links, the focus is almost essential for navigating via a non-pointing device. So again - removing it is a bad idea.