Jump to content

Adjusment the size of Web Page


Namal
 Share

Recommended Posts

Pleace this in between the <head> tags

<script language="javascript" type="text/javascript">function openPopup(url, width, height){	 var w = window.open(url, 'windowdetails', 'toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=no,copyhistory=yes,width=' + width + ',height=' + height)	 return w;}</script>

then on your link you have something like this:

<a href="#" onClick="openPopup('http://microsoft.com', '550', '435')">

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...