Home
Portfolio
Code Library
back to list
Auto-maximize the parent frame
Use this code to maximize a frameset. The code below is inserted into the OnLoad event of the form. Replace the "parent" reference with "self" below to maximaize the form/page itself.
JavaScript
parent.window.moveTo(0,0) ; parent.window.resizeTo(screen.width,screen.height-30) ;
Posted by fbrefere001 on Monday August 19, 2002