Thanks!!! I'll try that out later today.
As for scrollbars on the popup pics, I did try to play around with the javascript but seems to be beyond me. Again, it's not a bug or anything, the fileupload is functioning and fully usable, so I probably won't pursue it further. Seems like one could theoretically use window.innerWidth; and window.innerHeight; for certain browsers to determine the size of the window, while using document.body.clientWidth; and document.body.clientHeight; for others. But that's probably way more trouble than it's worth.
The one thing i did notice in the addon_fileupload.php code that seemed odd was that it was set to scrollbars=2. Shouldn't it be 1 or 0? Isn't this basically a toggle? No reason to set it to 2, right? Tthe only adverse effect from having it set to "2" was in Opera on the Mac. If the pic was too big for the screen, it doesn't give you a scroll bar! Works properly in all the other browsers I tested. Opera behaves properly if set to scrollbars=1.
Anyway, here's my unoffical, incomplete survey. All browsers are the latest version except for IE on the PC, which is version 6.
PC IE - popup sizes properly, no resize. Firefox - popup sizes properly, can resize window.
Mac Safari - scrollbars ALWAYS appear so calculation of popoup window size slightly off, no resize Firefox - scrollbars ALWAYS appear so calculation of popoup window size slightly off, no resize Opera - popup sizes properly, no resize. Camino - popup sizes properly, no resize.
Anybody else want to report their results in browser tests? |