IE7 RC1 problem positioning pop-ups in pop-ups

IE7 RC1 problem positioning pop-ups in pop-ups

Post by Casper van » Wed, 27 Sep 2006 19:12:13

Can anyone tell me if the following behavior is by design or an IE7RC1 bug:

If I call window.createPopup() where 'window' is in itself a popup window,
the position of the second popup is limited - it appears that it should at
overlap 50% with the first popup.

I use this mechanism in IE6 to create context menu rollover.. Any insight is
much appreciated..

-- to try this out, run this HTML in IE7RC1, click on tag, click on green --

<TITLE>Nested popup windows</TITLE>
var firstPopupDiv = null;
function tag_onclick()
var popup = window.createPopup();
var div = popup.document.createElement("DIV"); = "green"; = 200; = 200;
div.onclick = div_onclick;

firstPopupDiv = div;, 30, 200, 200, maindiv);
function div_onclick()
var popup =
firstPopupDiv.ownerDocument.parentWindow.createPopup(); = "red";, 30, 200, 200, firstPopupDiv); // Not
shown at 230!
<div id="maindiv" onclick="tag_onclick()">Click me</div>

1. Pop-ups, Pop-ups, etc. only on XP

2. Help! Pop-ups, pop-ups, everywhere

Since downloading the latest updates my MSIE has gone
bananas. I now have pop-ups opening MSIE windows without
me opening MSIE. I am used to them opening in the
background once I have MSIE open, but haven't had to deal
with all these browser windows opening up every time I
turn around. It's driving me nuts, how can I fix it? I
don't want to use my pop-up blocker software as it blocks
stuff I do want as well as the stuff I don't want. I am
running MSIE 6.0 on Win XP. (Penelope Pitstop

3. pop-ups about pop-ups

4. How do I keep IE7's pop-up blocker from blocking pop-ups on a specific site?

5. Messenger pop up's and now other pop up's - help!!

6. paying off pop ups so I wont have pop ups!!!?

7. Saving problems(Intentional Pop-ups don't pop-up)

8. RC1 audio - Realtek drivers pop-ups - check Nvidia

9. IE7, pop-ups from

10. IE7 Links Causes Pop-Ups (Balloon)

11. IE7 bug - Pop-ups sometimes are not blocked

12. IE7 Close All Tabs Pop-ups

13. IE7 Refreshes page when pop-ups allows

14. JS Menus, onClick pop-ups, etc a& IE7

15. IE7 Blocked pop-ups come up behind browser window