Click to See Complete Forum and Search --> : Java Popup - Scale Height to Included Table?
chrison600
04-24-2003, 09:13 PM
Hi all,
I'm wondering if there is a way to scale the height of a popup so that it adjusts for the height of the window contents. Or, is a fixed pixel height the only way to go...
Thanks,
Chris
khalidali63
04-24-2003, 09:30 PM
yuo can do that provided you know of hand the height and width of the contents,that you can use to create a window
chrison600
04-24-2003, 09:37 PM
Thanks Khalid,
In my case, I have a script that is called from multiple locations via PHP. The contents of the code inserted into the popups varies quite a bit, primarily changing the length of a table. That's why I was wondering about automatically scaling the popup per its contents.
If that's not possible, I'll have to make a best guess of the max length of the popups and go with that for all of the windows...
Chris