Forum Moderators: open

Message Too Old, No Replies

change window size without resizeTo()

         

jibonita

7:45 am on Jan 29, 2008 (gmt 0)

10+ Year Member



Hi
could you tell me another way to change the sizes of a window without using the resizeTo(h,w) method.
Also i have this problem with IE:
If part of my browser window is not visible (i have moved it to some of the ends of the screen and part of it has been hidden) when I execute on it resizeTo(), it resizes the window just to the dimentions that were the visible part of the window. How could i escape from this without haveing to use moveTo(0,0) and than resizeTo(x,y), because in that 'solution' a jumping is watched (I make centering of the window at the end - that's why the jumping is unpleasant)
Thanks

eelixduppy

9:34 pm on Feb 5, 2008 (gmt 0)



Hello,

I'm not sure there is another method other than resizeTo() that will do the same thing for you. If there is, it probably won't be working on most browsers.

I have a feeling that you won't be able to get around this problem you are having, and if you can, it will probably be an ugly hack that will cause more problems for you in the end. Javascript will not allow you to resize something past the computers own boundaries as I'm sure you can think of reasons why. I wouldn't worry about it too much. :)