Javascript examples for Browser Object Model:Window resizeBy
Window resizeBy() Method - Resize the top most browser window with 100px each way
<!DOCTYPE html> <html> <body> <button onclick="resizeWin()">Resize window</button> <script> function resizeWin() {//w w w .j a va 2 s . co m top.resizeBy(100, 100); } </script> </body> </html>