this seems to work but the new window doesn't resize and none of the attributes are working?

<form name="login" action="secure/checkuser.php" method="post" target="mywindow" onsubmit="window.open('mywindow','width=400,height=300,toolbar=no,location=no,directories=no,status=no,menubar=no,titlebar=no,scrollbars=yes,copyhistory=yes,resizable=no')">

the window.open is not complete. add this to the list resizable=yes and make sure your return false after the window.open() code

thanx for the help 'shadiadiph' and 'ejosiah'... i was about to ask this question today

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.