|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Is there any way to adjust the size of a window such as the onload statement?
I am using another language to generate some database popups but it doesn't support window size. I need to reset the size after it is created if possible. Thanks for any help!! Dale |
|
#2
|
|||
|
|||
|
You can resize a window with self.resizeTo(), however it has some weird effects. We used it on a sample site sometime back and it tends to get the window "stuck" to the size and place it has been resized to. This can be very annoying for users. Anyway, here's an example using onload.
<html> <head> <script language="JavaScript"> <!-- function sizeMe() { self.resizeTo(640,480); } // --> </script> <body onLoad="sizeMe()"> blah blah... Cheers, adam |
![]() |
| Viewing: Dev Shed Forums > Web Design > HTML Programming > resize a window |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|