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: 498
JavaScript
|window-open
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:
- IE7 opens a new window
- Firefox opens a new tab in the topmost parent window
- 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