Display information in status (window.status) : window « Javascript Objects « JavaScript DHTML
- JavaScript DHTML
- Javascript Objects
- window
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>
Related examples in the same category