Login | Register   
LinkedIn
Google+
Twitter
RSS Feed
Download our iPhone app
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   FORUMS  |   TIP BANK
Browse DevX
Sign up for e-mail newsletters from DevX


Tip of the Day
Language: Web
Expertise: Intermediate
Sep 10, 1998

What's the Status?

You can use the browser's status bar to give users extra information about the page that they're viewing. Here's an example of how to do it by using a JavaScript function to modify the status property of the window object in the browser's Document Object Model (DOM):
 
<HTML>
<HEAD>
<TITLE>Status Bar Example</TITLE>
<SCRIPT LANGUAGE="JavaScript">
function message()
{
window.status = "Here is some sample text.";
}
</SCRIPT>
</HEAD>
<BODY ONLOAD="message()">
</BODY>
</HTML>
Martin Kelly
 
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

Sitemap