|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
I had a look at netscape's developer site regarding javascript and came across the script that resizes a new window and, if I am correct, it will detect what screen resolution and colour bit depth they are using and then resize the window accordingly. But can this be used as part of a sniffer eg to automatically resize the browser window on opening the url without any user input?
can anyone help??? [This message has been edited by chappa ranks (edited 09-28-99).] |
|
#2
|
|||
|
|||
|
Yes, from JavaScript 1.2, you can resize the browser by using Window.resizeTo(width,height)
In Netscape 4, You cannot set the width and height to less than 100 pixels without the UniversalBrowserWrite privilege (that is, you need a signed script) |
![]() |
| Viewing: Dev Shed Forums > Web Design > HTML Programming > Resizing the the browser window |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|