gdh
10-08-2003, 02:08 PM
need to disable the Status Bar in Internet Explorer or have it always display a static line of text. I'm new to javascript but found a suggestion listed below and put it in the <head> section:
<script LANFUAGE="JAVASCRIPT" TYPE="TEXT/JAVASCRIPT>
function hidestatus() {
window.status='SOME TEXT';
return true;
}
document.captureEvents(Event.MOUSEOUT | Event.MOUSEOVER)
document.onmouseout=hidestatus;
document.onmouseover=hidestatus;
</script>
The captureEvents command gives an error. The status bar does change to 'SOME TEXT' when I move the cursor away from a link but shows the link value when the cursor is over the link. The menus are built with javascript and when the cursor is over one the status bar says "javascript:top.location='http://www.etc.htm' Some of our links include a username and password and that's why we need to hide them. Any help would be appreciated.
Thanks
<script LANFUAGE="JAVASCRIPT" TYPE="TEXT/JAVASCRIPT>
function hidestatus() {
window.status='SOME TEXT';
return true;
}
document.captureEvents(Event.MOUSEOUT | Event.MOUSEOVER)
document.onmouseout=hidestatus;
document.onmouseover=hidestatus;
</script>
The captureEvents command gives an error. The status bar does change to 'SOME TEXT' when I move the cursor away from a link but shows the link value when the cursor is over the link. The menus are built with javascript and when the cursor is over one the status bar says "javascript:top.location='http://www.etc.htm' Some of our links include a username and password and that's why we need to hide them. Any help would be appreciated.
Thanks