main.htm
Code:
 
<script type="text/javascript">

function MM_openBrWindow(theURL,winName,features) { 
  window.open(theURL,winName,features);
}

</script>
<body>

<a onClick="MM_openBrWindow('popup.htm','','width=500,height=310,toolbar=no,location=no,directories=0,status=no,menuBar=no,scrollBars=no,resizable=no')" href="#">click me</a>

</body>
popup.htm
Code:
  
<script type="text/javascript">

document.onkeypress = function (evt) {
  var charCode = (evt.which) ? evt.which : evt.keyCode;
  if(charCode == 122) {return false}
  }
</script>
<body>
This is a test
</body>
After popup.htm was opened, user will press to F11 and popup.htm will be fullscreen. I don't want popup.htm is fullscreen. So I write this code:

document.onkeypress = function (evt) {
var charCode = (evt.which) ? evt.which : evt.keyCode;
if(charCode == 122) {return false ; }
}

With this code, popup.htm is not fullscreen in Firefox and Opera. How to do this on İnternet Explorer?
popup.htm is fullscreen on İnternet Explorer. Thanks...