JavaScript Reference/Javascript Properties/status window

Материал из Web эксперт
Перейти к: навигация, поиск

"status" Example

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



"status" is applied to

+----------------+--------------------------------------------------------------+
| Applied_To     |window                                                        |
+----------------+--------------------------------------------------------------+



"status" Syntax and Note

Note:
Read and write property. 
Specifies the message in the status bar of the window.
    
Syntax:
    
window.status = value