View Full Version : maximize a window through link?


frederick
05-10-2003, 09:21 PM
there's this code to close a window:

<a href="javascript:window.close()">

is there one to maximize a window, through a link? [please god]

SSPrincess
05-10-2003, 09:27 PM
Do you mean maximize a pop-up or the current screen?

kittycat
05-10-2003, 10:54 PM
There's this code I found:
<a href="javascript:;" onClick="self.resizeTo(screen.availWidth,screen.availHeight ); self.moveTo(0,0); return false">Maximise</a>

And also this page:
http://www.htmlgoodies.com/beyond/minmax.html

I'm not sure if either work or if they'll work the way you want.

frederick
05-12-2003, 06:48 PM
thank you, kittycat. that looks like it will work.

designhazard
05-15-2003, 08:37 AM
it doesn't work on Internet Explorer. I think it works in Netscape

frederick
05-15-2003, 07:09 PM
yes, it works in internet explorer... it doesn't work in public browsers tho.