accessing status bar using javascript

In this code script, we access the status bar using javascript. The status bar shows URLs and text when mouse is move over the hyperlinks. The status bar is present at bottom left of page.

<html>
<head>
<title></title>
<script language="javascript" type="text/javascript">

function statusBarText()
{
window.status = "This is text";

document.write(window.status);
}

</script>

</head>
<body onload="statusBarText();">
</body>
</html>

 

Add a Comment

Your email address will not be published. Required fields are marked *