[Home]Show text in status line

HomePage | RecentChanges | Preferences | Newbie Help

[Category JavaScript FAQ]?

<script language="JavaScript">
 window.status="This text shows in the status line.";
</script>

<a href="nextpage.htm" onMouseOver="window.status='show this text'; return true; onMouseOut="window.status=window.defaultStatus">Go to Next Page</a>


Discussion

Tinkering with the browser status line display is considered poor form. If something is important enough to display, it should be worked into the page itself (<a href="mypage.html" title="about my page"> provides a useful tooltip in many browsers). If it's not that important, why show it at all? You have no assurance that the visitor pays any attention to the status line, anyway.

If people look at the status bar, it is usually to see the status information. This can be especially important if (for example) the link says "Contact Me" and they want to figure out if the link will take them to a webpage with a form on it or attempt to launch their (possibly non-existant) email client.

Some Browsers allow JavaScript to be selectively crippled to prevent the hijacking of status information.

Some people appear to be under the impression that hiding the URL from the status bar will somehow prevent people from stealing their content or creating deep links. This is rubbish as reading the status bar is probably the last place such people will look, it is easier to copy and past it from the right click menu, address bar, or source code.


HomePage | RecentChanges | Preferences | Newbie Help
This page is read-only | View other revisions
Last edited April 3, 2002 6:51 pm (diff)
Search:

This FAQ is happily hosted by Betadome Digital Media