- 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>