status bar (window.status) not working in Netscape 8.1

T

topmind

I couldn't get the status bar to work in Netscape 8.1. The JavaScript
settings are set to allow it, but it just ain't no work.

Here is a Plain Jane test script. I added an Alert box to make sure the
function was getting called. Am I missing something obvious? It works
in IE just fine.

<head>
<title>Status Bar Test</title>
<script language="JavaScript">
function myFunc() {
window.status='teeeeest';
alert('Sanity check');
return(true);
}
</script>
</head>

<body>
<form>

<input type="button" value="test" onclick="return myFunc();">

</form>

Thanks, -T-
 
B

Bart Van der Donck

topmind said:
I couldn't get the status bar to work in Netscape 8.1. The JavaScript
settings are set to allow it, but it just ain't no work.
Here is a Plain Jane test script. I added an Alert box to make sure the
function was getting called. Am I missing something obvious? It works
in IE just fine.
[...]

NS/FF does not allow scripts to change the status bar text by default.

In Firefox 1.0.4, this feature can be enabled like this:
'Tools' > 'Options' > 'Web features' > 'Advanced' (next to checkbox
'Enable JavaScript'), and then check 'Allow scripts to change status
bar text'.

The NS & FF>1.0.4 procedures should be similar.

Hope this helps,
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,744
Messages
2,569,482
Members
44,901
Latest member
Noble71S45

Latest Threads

Top