PHPJavascript

Web Development Guide – My Personal Library of Tutorials and Scripts

Resize existing window

July23

Set width, height, position of an existing  opened window

Use Javascript resizeTo() and moveTo()  function.

Example

<html>
<head>
<title>Resize Page</title>
<script language=”javascript”>
<!–
function resizeWindow()
{
this.moveTo(0,0);
this.resizeTo(300,300);
}
//–>
</script>
<body bgcolor=”#999999″ onLoad=”resizeWindow();”>
Hello There
</body>
</html>

posted under Javascript

Email will not be published

Website example

Your Comment:

 

3,063 spam comments
blocked by
Akismet