R.S.Galloway wrote:
> Hi,
>
> I don't think this question has been asked before but I'm kind of new
> to PWC/Javawin. I am using v 0.99.
>
> Is it possible to get a window to appear at the top level of a web
> page? Currently, if I have the link in an iframe on a larger page,
>
> <iframe width=700 height=100>
>   <img src=button.png onclick=win.showCenter();>
> </iframe>
>
> the window appears in that iframe and if the width/height is
> insufficient to display the window property, it becomes a problem.
>
> How can I get the window to appear at the top level?

you need to use cross-frame scripting. Depending on how your frames get 
created this is easy or hard or poses a security problem. In general: 
you should refer to the parent window of the current frame and access 
the object of that parent window. If you draw your PWC Window as part of 
the parent window, you can place wherever you want.

Another option is, let the iframe *be* the PWC window. But that depends 
if your current layout or structure allows that. You can set any URL to 
the PWC constructor. It will create the iframe automatically.

Cheers,
Abel

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

Reply via email to