[Javascript] auto maximize window using js

Bill Marriott bill.marriott at optusnet.com.au
Sat Aug 18 14:44:38 CDT 2001


Hi Marty,

Try calling this function with the onload event of the Body of the page.
<BODY LANGUAGE=Javascript onload="MaxWin()"  etc


function MaxWin()
{
window.moveTo(0,0)
window.resizeTo(screen.width,screen.height)
}

It works in IE5 you might want to test other browsers.

Bill Marriott

----- Original Message -----
From: "Mearis M. Martin, III" <va-magistrate at justice.com>
To: <javascript at LaTech.edu>
Sent: Saturday, August 18, 2001 11:32 PM
Subject: [Javascript] auto maximize window using js


> Hello... I have searched 'all' the archives on the web and this listserv,
and still can't find what I need--
>
> I need a javascript that will automatically maximize a webpage 'onload'
>
> Can anyone help me with this, I am still learning js and am not sure how
to accomplish this.
>
> Thanks,
>
> Marty Martin
> webmaster at mosquitohawk.net
>
> _________________________________________________
> FindLaw - Free Case Law, Jobs, Library, Community
> http://www.FindLaw.com
> Get your FREE @JUSTICE.COM email!
> http://mail.Justice.com
> _______________________________________________
> Javascript mailing list
> Javascript at LaTech.edu
> http://www.LaTech.edu/mailman/listinfo/javascript




More information about the Javascript mailing list