View Full Version : Window Resize

visual iii
01-13-2003, 10:44 PM
Hey All,

I am stumbling over this and I know that it is very easy. I simply want to resize the window that is opened when the link (sumit button) is clicked. (see code below)

What is the snippet of code that I need to do this - this is driving me crazy!

<form method=post action = "http://www.votations.com/asp/vote.asp">

^ I just want to have control over the size of the window that opens up


visual iii

[Edited on 13-1-2003 by visual iii]

[Edited on 13-1-2003 by visual iii]

Base Effect
01-14-2003, 12:12 AM
If you can edited the page that comes up this code will work, but I dont know how to make it change size when you click the button.

Put this in the Head
<script language="JavaScript">
function resize(width, height) {
self.resizeTo(width, height);

Then use this to change the size, its the 800 and 600.
<body bgcolor="#000033" onLoad="resize('800','600')" text="#CCCCCC">