I can't get JavaScript's innerHeight function to work in Safari or IE. It works in Firefox - the window's height is set correctly. But Safari and IE seem to ignore the code. Anyone know why it's not working?
Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Blah</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<script language="javascript" type="text/javascript">
function setSize() {
self.innerHeight=200;
}
</script>
</head>
<body onload="setSize();">
</body>
</html>