see
http://lax4mike.myftp.org:2580/test/windowopen.htm
I have this code that should open a new browser window, and dynamically add some content. it works fine in firefox and ie6, but it's not working in ie7. any ideas?
Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="Content-type" content="text/html; charset=utf-8">
<title>windowopen</title>
<script type="text/javascript" charset="utf-8">
function openPopup(){
popup = window.open();
popup.document.write("POP!!");
popup.document.close();
}
</script>
</head>
<body>
<a href="javascript:openPopup();">open new window</a>
</body>
</html>