Window resizeBy() Method - Resize the top most browser window with 100px each way - Javascript Browser Object Model

Javascript examples for Browser Object Model:Window resizeBy

Description

Window resizeBy() Method - Resize the top most browser window with 100px each way

Demo Code

ResultView the demo in separate window

<!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>

Related Tutorials