G
Gabriel Gilini
Hi, this is actually a DOM thing, so if I shouldn't post here, please
tell me.
Well, first of all, I've never used window.open() and resizeTo before,
so I could be missing something obvious. The reason that I'm using
this functions is to create a test case, to test a function that
returns the visible part of the screen dimensions.
So, here's the test page I've written to reproduce the problem:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
<html>
<head>
<script type="text/javascript">
window.onload = function(){
window.resizeTo(400, 400);
var newWin = window.open();
newWin.resizeTo(400, 400);
}
</script>
</head>
<body>
</body>
</html>
I'm on linux, and as the subject says, Opera's version is 9.64.
It works fine in Konqueror 3.5.10 and Firefox 3.0.8. Opera's new
window just stands still and doesn't throw errors or anything.
Any idea of what could this be? I'd also appreciate if you guys could
share how you test a function similar to the one I'm trying to test.
tell me.
Well, first of all, I've never used window.open() and resizeTo before,
so I could be missing something obvious. The reason that I'm using
this functions is to create a test case, to test a function that
returns the visible part of the screen dimensions.
So, here's the test page I've written to reproduce the problem:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
<html>
<head>
<script type="text/javascript">
window.onload = function(){
window.resizeTo(400, 400);
var newWin = window.open();
newWin.resizeTo(400, 400);
}
</script>
</head>
<body>
</body>
</html>
I'm on linux, and as the subject says, Opera's version is 9.64.
It works fine in Konqueror 3.5.10 and Firefox 3.0.8. Opera's new
window just stands still and doesn't throw errors or anything.
Any idea of what could this be? I'd also appreciate if you guys could
share how you test a function similar to the one I'm trying to test.