open new window javascript

Posted by Midhat on Stack Overflow See other posts from Stack Overflow or by Midhat
Published on 2010-03-30T11:46:19Z Indexed on 2010/03/30 11:53 UTC
Read the original article Hit count: 468

Filed under:
|

I have a window.open call in a page, whose window itself is opened by a window.open call. So there are 2 windows already on the screen

Now On the next window.open call:

  1. IE7 opens a new window
  2. Firefox opens a new tab in the topmost parent window
  3. Chrome opens a new tab in current window

Is it possible to make this behaviour same in all three browsers. (preferably like #3)

Edit :

my call is rly simple

javascript:window.open("Attachment.aspx?docid=42")

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about window-open