Worked! Thanks! Forgive my javascript ignorance... I am quite new at this...
:)
On 11/27/06, Felix Shnir <[EMAIL PROTECTED]> wrote:
You could try parent.Windows.getWindow('30').updateWidth();
Felix.
On 11/27/06, Issachar Brooks < [EMAIL PROTECTED]> wrote:
> Hello,
>
> Please help... I have a PWC window open, and want to update the size of
> it with updateWidth()...
> I called it with the following function:
>
> function categoryPopup(myurl,mytitle)
> {
> var win = new Window('30', {className: "alphacube",
> title: mytitle,
> width:350, height:400,
> resizable: false,
> url: myurl,
> showEffectOptions: {duration:1, fps:
> 30}})
> win.showCenter(true, 30, 40);
> win.setDestroyOnClose();
> }
>
> now, from inside the window, I want to be able to display a hidden
> iframe, call some content into it, and resize the window to fit. I tried
> calling
> parent.win.updateWidth(); but since win is set inside the function it
> won't work, of course. How can I call the window id in the DOM?
>
> Thanks,
>
> Issachar
>
> _______________________________________________
> 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
_______________________________________________
Javawin mailing list
[email protected]
http://mail.xilinus.com/mailman/listinfo/javawin_xilinus.com