Forum Moderators: open
Am sure it's simple, just do not know javascript.
Your link could be:
<a href="link.page" title="Title of the Link" onmouseover="window.status='Title'" onmouseout="window.status=''">Link Text</a>
It will become tedious if you have to do it manually for every link. On a usability note, some users may not appreciate this. I for one like to see where a link will take me by looking at the URL in the status bar...
HTH
To cut down on the characters needed, I usually set up a little function and put it in the HEAD section of all my pages:
<script type="text/javascript" language="javascript"> function setStat(msg) { top.status=msg; return true; } </script> (You need to "return true" to see the result immediately on most browsers.)
Then, in my BODY tag, I set up the default status message:
<body onload="defaultStatus='Welcome!'"> Then in each hyperlink, I add code to trigger the function and show the appropriate message in the status bar:
<a href="somepage.html" onmouseover="return setStat('Go to somepage.html')">SomePage</a> With this setup, here's what happens:
The page loads, and "Welcome!" is shown in the status bar.
When the visitor mouses over a link, the status bar changes.
When the visitor mouses out of the link, the status message returns to the default "Welcome!".
But do keep in mind that some visitors will prefer to see the actual hyperlink URI in the status bar instead ... and keep in mind that many of your visitors won't even look at the status bar at all! (Don't use this for important messages.)
And, please do everyone a favor by NOT using one of those "scrolling status bar" scripts that are floating around. Those things are just terrible. They distract from your page content and flicker like crazy onmouseover.
:)