PDA

View Full Version : resizable... or lack thereof....


AbelaJohnB
November 5th, 2006, 03:45 AM
Can somebody please explain the POOR logic behind HARDCODING this!

resizable=no,scrollbars=no


Guys, that's just stupid.

Even IF you decide to hardcode it... setting both of those to NO is just saying "screw over everybody!". These settings overwrite every browsers ability to change such settings from the browsers (end-users) configuration.. and thereby... you are helping who? You sure are not helping me or my users!

You guys SERIOUSLY need to reconsider this!

joseph
November 6th, 2006, 12:18 PM
Hi, what page/popup is causing you the trouble? Is the problem that content is getting clipped and you can't scroll down, or that you want to make the page bigger and you can't?

The reason we do this is because if you don't specify resizable=no,scrollbars=no then the browser (esp. IE) will show scrollbars all the time--even if the content fits. That looks bad and takes up extra room, so for popups where we know the content should always fit, we have to get rid of them entirely. What we'd obviously like is the window-equivalent of overflow:auto, but this just doesn't exist sadly. The one thing we've tried is making the window have no scrollbar but wrapping the body content in a div that's width/height 100% and overflow: auto. This works when everything goes well, but it's easy to end up the scrollbar in the wrong spot, etc., so we don't always do that.

But if you think a particular page should be scrollable and/or resizable and it isn't, please let me know and I'll try to fix it.

Thanks! js