Display information in status (window.status)
<html> <head> <script language="JavaScript"> function function1() { window.status = "Welcome to www.java2s.com"; } </script> </head> <body> <p onmouseover="function1();" style="cursor:hand"> Check the status bar message.</p> </body> </html>