Forum Moderators: open

Message Too Old, No Replies

Controlling window size of target=" _blank" -- called from a pop-up

         

scorpion

6:08 pm on May 10, 2003 (gmt 0)

10+ Year Member



If I have a pop-up with dimensions say 400x400 and a link on the popup opens in a _blank window, the problem is the new window is also the same dimensions as the popup (400x400)? What code (without having javascript on the target) can one use so that the window off of the pop-up opens in a reasonable window size?

Thanks.

tedster

9:48 pm on May 10, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



The size of a window opened with target="_blank" is a browser-controlled function, and the browsers don't act consistently. And as a far as I know, there is no code that will control the size.

So you either use javascript, or play browser roulette.