JavaScript window.open height will not go as tall as I set, why?
I am using FF, IE, Chrome, and using this function.
function open_win3(zoom) {
New_Win3 =window.open(zoom,"_blank","width=550,height=1970,scrollbars=0,menubar=0");
}
var zoom = "/zoom.asp"
Will the height of the new window opened by JavaScript only be as tall as the monitor itself is tall?
Chrome also added scroll bars, when clearly scrollbars are negative, but I got around that by using
<style type="text/css">
body { overflow: hidden; }
</style>
Thanks.
From the Mozilla documentation :
As many other features regarding window.open, this can be easily explained as a security : the browser must prevent the user from not understanding he’s looking at a new browser window, or having difficulties closing it.