Spaceman Spiff: IE und window.open: Eigenwillige Fenstergrößen

Beitrag lesen

Hi Stefan.
Das verhält sich, soweit ich weiss, so:

Depending to the features you specify in the window.open() method Internet Explorer will surprise
you with different window sizes:

window.open("dummy.html","F1","width=400,height=400")
window.open("dummy.html","F1","width=400,height=400,resizable=1")
window.open("dummy.html","F1","width=400,height=400,scrollbars=1")

--->  inner width and inner height are 400px

window.open("dummy.html","F1","width=400,height=400,resizable=1,location=1,status=1,menubar=1,scrollbars=1,toolbar=1,directories=1")

--->  outer width and outer height are 400px

window.open("dummy.html","F1","width=500,height=400,resizable=1,location=1,status=1,menubar=1,scrollbars=1,toolbar=1")

---> inner width 400px; inner height 400px plus one scrollbar height

ABER: unabhängig von den eingestellten Features führt window.resizeTo(x,y)
immer zu outerWidth=x und outerHeight=y.

lg Spiff