Hey guys,
This error occurs ONLY in Netscape 7.0. Not in 7.1. So, I think it's a
bug. Buuuut...
Has anyone had this problem or know of a fix?
When attempting to have an onunload function set with "window.onload= ",
the error comes up
"permission denied to set property window.onunload "
I can't find a thing on this one. Setting it with the normal "<body
onunload" works fine. But isn't a great thing for me to do, since the
onload is part of a very large menu script.
Here's a test page to illustrate the problem. Netscape 7.0 has a problem
with this. 7.1 does not. IE is fine, too.
<html>
<head>
<title> New Document </title>
<script>
window.onunload ="alert('bye bye');"
</script>
</head>
<body>
test
</body>
</html>
-------------------------------------------------
~kaeli~
Jesus saves, Allah protects, and Cthulhu
thinks you'd make a nice sandwich.
-------------------------------------------------
Comment