oh i think its cos ur 2nd window has the same id?
i rem i had to change the code to include an array to state if the window is
open. and if open, not allow to open again. then when close, to null the
attribute.
as for the appearing behind, think u gotta edited the z-index when a new
window is opened to be the max z-index. then it'll always be infront


On 12/20/06, Will Merrell <[EMAIL PROTECTED]> wrote:

I have been using PWC for a couple of months and am generally very
satified with it. This problem, however, has me baffled for several days
now so I thought I would though it out to a wider audience and see if
anybody has any idea what is going on.

I have posted a test page that shows the problems. It is located at:
http://www.coaching-life.com/testwindow/

Heres how to produce the problem.
1) Go to the page.
2) Click the [Open First] button.
3) On the first window, click the [Open Second] button.
4) Observe that the second window opens correctly and is positioned
above (laying overtop of) the first window.
5) Click on the red x button to close the second window.
6) Observe that the second window closes normally.

And now the problem will show up.

7) On the first window, click the [Open Second] button again.
8) Observe that the second window opens correctly BUT is positioned
below (laying beneath of and obscured by) the first window.

This happens on all browsers that I have tested. These include Firefox
2.0, IE7, and Opera 9.
The second window appears to work properly, but I cannot get it to raise
above the first window.

Furthermore, on Firefox I see two additional problems. The first is that
when the second window is dragged around under the first window, the
first window is distorted, like it is being smeared around in the area
where they overlap. This does not happen when the window is opened for
the first time. (steps 3 & 4) Sometimes this will crash Firefox.

The second problem on Firefox is a show stopper for me. In Firefox,
after step 8, click on the red x button to close the second window
again. The script will crash and Firebug will report:

window.frames[winname].do_save is not a function

The second window can not be closed.

I cannot figure out why it does these things. I suspect that these
problems are related, but I don't know what is going on.

Does anyone know what is going on?

-- Will Merrell




_______________________________________________
Javawin mailing list
[email protected]
http://mail.xilinus.com/mailman/listinfo/javawin_xilinus.com

_______________________________________________
Javawin mailing list
[email protected]
http://mail.xilinus.com/mailman/listinfo/javawin_xilinus.com

Reply via email to