Click to See Complete Forum and Search --> : window size "Maximize"


mpsr
12-10-2002, 12:49 PM
I'm trying to open a new window from a link. I want this window to be maximized. What do I have to do for that?

Thanks

jalingo
12-10-2002, 04:40 PM
This is what I used for a project. You could incorporate this in your new window function or call it from the BODY tag of your new window with onLoad="xpandMyPants2()".

var mxWidth = screen.availWidth
var mxHeight = screen.availHeight

function xpandMyPants2() {
self.moveTo(0,0)
self.resizeTo(mxWidth, mxHeight)
}

Atom290
12-11-2002, 02:58 AM
this will work but will over lap the sides of the screen, I always knock a little off the height and width

mpsr
12-11-2002, 09:09 AM
Thanks.
That did the job.