Click to See Complete Forum and Search --> : monitor resolution and page size


Gretchen
03-07-2003, 04:39 PM
hi,
i'm pretty new to javascript, and i am looking for a way to reset the size of a webpage based on the monitor resolution of the user and if they resize the window (fixed proportions). is there any way to do this?


thanks

khalidali63
03-07-2003, 05:20 PM
You can only manipulate the size/location of the child window,that you open from an existing window.

http://68.145.35.86/skills/javascripts/CentralizedPopupWindow.html

Take look and see how the size of the window is set,then use it for the specific size you intended.

Cheers

Khalid

Gretchen
03-07-2003, 05:50 PM
okay, that helps. thanks!
so, i assume there is no way to resize the window with fixed proportions like you can with an .swf, correct?

gretchen

khalidali63
03-07-2003, 05:57 PM
As I said the initial window can not be manipulated(without a hack),yes the children can be
and .swf are stand alone applications thats why you can set there size and width.

Khalid

Gretchen
03-07-2003, 06:25 PM
great, thanks for your help.