Javascript Reference Guide

 
 
This guide contains useful Javascript tips.

rss feed






Change browser window status.



Information
none


Code
    <script type="text/javascript" language="JavaScript">
    function changeWindowStatus(msg) {
        if(msg =='') {
            window.status = '';
        } else {    
            window.status = 'Goto '+sMsg;
        }   
        return true;
    }
    </script>
    Hover over the link to see the browser window status changed:<br />
    <a href="javascript_quickguide_window_status.html" 
    onmouseover="return changeWindowStatus(this.innerHTML);" 
    onmouseout="return changeWindowStatus('');" >Demo link</a> 
 
Result

Hover over the link to see the browser window status changed:
Demo link