Resize Browser Window Script

Javascript to resize the browser window to the desired width and height. This script will automatically change the size of windows using the measurements you specify.

Features

  • Used to resize the browser window.
  • View webpages in differnt sizes.
  • Check if the website is safe for all standard resolution sizes.
  • Resize the windows easily by specifying height and width properties.
  • Click on restore button to bring it back to the original size.

Preview

Specify Windows Resolution Properties

Width: Height:
H

Downloads

Javascript Code


<!-- Script by hscripts.com -->
<!-- Copyright of HIOXINDIA -->
<!-- More scripts @www.hscripts.com -->
<script type="text/javascript">
function changesize(w,h)
{
window.resizeTo(w,h)
}
function resiz()
{
var w=document.getElementById('wid').value;
var h=document.getElementById('hei').value;
changesize(w,h);
}
</script><!-- Script by hscripts.com -->

HTML Code


<table align=center><tr><td style="color: #3D366F;font-family: Verdana, Arial, Georgia, serif;font-size:12px;">
Width:<input type="text" value="" id="wid" size="4">
Height:<input type="text" value="" id="hei" size="4">
</td></tr><tr><td colspan=2 align="center">
<input type="button" value="Resize" onclick="resiz()"><a href="https://www.hscripts.com" style="text-decoration:none;cursor:pointer;color:green;font-size:12px;">H</a>
</td></tr></table>
  • Release Date - 18-09-2009
  • Get free version without ©copyright link for just $10/-
  • For customization of this script or any script development, mail to support@hscripts.com

Usage

  • Copy and paste the javascript code into your HTML page to enable this script.
  • Resize the browser window very easily by inserting this code.
  • Simple and effective windows resolution size change.

License

Related Scripts

Free Javascript Scripts


Ask Questions

Ask Question