Forum Moderators: open

Message Too Old, No Replies

Window Size with "_new" Problem in IE only

         

mnw

1:30 am on Jan 11, 2002 (gmt 0)

10+ Year Member



Never realized that the "new" window opened with a TARGET ="_new" may not open a full sized window in IE. The code seems to always open a full window in Netscape but the same code when viewed on two different PCs opens a full window in IE (ver 6.0 I think)on one and a partial window on the other (ver 5.5). Any way of forcing a full window without resorting to JS window.open. Thanks

tedster

3:58 am on Jan 11, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Well, "_new" is not one of the reserved target window names. The standard is target="_blank". (W3C recommendations [w3.org])

Even then, as far as I know, browsers usually duplicate the size of the window that has focus when they open the "_blank" window. It will take javascript to ensure that a new window opens full screen.

Nicu_Alecu

6:30 am on Jan 11, 2002 (gmt 0)

10+ Year Member



Tedster is right, the correct syntax is TARGET="_blank".
The new window's status (fullscreen or not) depends on the IE's version and local settings. I use IE6, and it NEVER opens a new fullscreen window unless there's JS involved.
On the other hand, NN always does what Tedster said: it duplicates the size of the _parent window. But NN never runs fullscreen, it only runs "maximized".

Bottom line, if you want to open a new fullscreen window in IE, use JS.