Browser Windows Status Bar Text

This section contains a lot of Scripting material for your website.

Browser Windows Status Bar Text

Postby Shahzad Butt on July 21st, 2008, 9:09 am

Sometimes you need to change the status bar text of the browser window. You can do this easily with the help of a small piece of code in javascript.

Code: Select all
window.status = "Welcome to GEO Source Code";


This statement will change the status bar text to "Welcome to GEO Source Code" to all browsers. Normally The Firefox don't allow to change the Status Bar text by default. You have to make a change in the firefox settings. To turn on this settings in firefox, goto "Tools" menu, then select the "Content" tab, make sure that "Enable Javascript" property is checked, then click on "Advance" button infront of this property. Finally check the "Change status bar tetx" property and press "OK" button twice to save the settings.

You can also change the status bar text on other events on the page link on anchor (links) tags. e.g.
Code: Select all
<a href="about.html" onmouseover="window.status='Goto About Us Page';" onmouseout="window.status=':: Home Page';">About Us</a>
Regards
Shahzad Butt
http://www.GeoSourceCode.com
Shahzad Butt
 
Posts: 23
Joined: July 9th, 2008, 11:16 am
Location: Pakistan

Return to Java Script / VB Script

Who is online

Users browsing this forum: No registered users and 0 guests

cron