본 사이트는 여러분의 사용자 경험을 개선하기 위해 유지 보수를 진행하는 동안 기능이 제한됩니다. 도움말로 문제가 해결되지 않고 질문을 하고 싶다면 Twitter의 @FirefoxSupport 및 Reddit의 /r/firefox 채널을 활용하세요.

Mozilla 도움말 검색

고객 지원 사기를 피하세요. 저희는 여러분께 절대로 전화를 걸거나 문자를 보내거나 개인 정보를 공유하도록 요청하지 않습니다. "악용 사례 신고"옵션을 사용하여 의심스러운 활동을 신고해 주세요.

자세히 살펴보기

Seemingly Odd Behavior of window.open

more options

SCENARIO 1

In Window A:

calling window.open('WindowB.html') opens Window B in a new TAB within Window A. This is expected.

SCENARIO 2

In Window A

calling window.open('WindowB.html','_blank','top=50') opens a brand new window, Window B, this is expected.

Now in Window B call window.open('WindowC.html') and a new tab opens in Window A. The opening of the tab (as opposed to a window) is expected, but having it open the tab in Window A is not expected.

Why would the tab be added to Window A, when the call was made from Window B?

Is there anyway, via javascript, to have it open in Window B?

This happened

Not sure how often

== always

SCENARIO 1 In Window A: calling window.open('WindowB.html') opens Window B in a new TAB within Window A. This is expected. SCENARIO 2 In Window A calling window.open('WindowB.html','_blank','top=50') opens a brand new window, Window B, this is expected. Now in Window B call window.open('WindowC.html') and a new tab opens in Window A. The opening of the tab (as opposed to a window) is expected, but having it open the tab in Window A is not expected. Why would the tab be added to Window A, when the call was made from Window B? Is there anyway, via javascript, to have it open in Window B? == This happened == Not sure how often == always

모든 댓글 (1)

more options

Try posting at the Web Development / Standards Evangelism forum at MozillaZine. The helpers over there are more knowledgeable about web page development issues with Firefox. http://forums.mozillazine.org/viewforum.php?f=25 You'll need to register and login to be able to post in that forum.