
April 12th, 2001, 03:18 AM
|
|
Member
|
|
Join Date: Apr 2001
Location: Zimbabwe
Posts: 14
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
hi everyone,
as y'all can see i'm trying to open a new window without any toolbars, and close the old window. How can i get the new window to fill up the whole screen no matter what the user's screen resolution is... what do i have to do?
My code:
<SCRIPT LANGUAGE="JavaScript">
function spawnwindow(name,w,h,x,y) {
var strOpt="height="+h+",width="+w+",menubar=no,personalbar=no,resizable=yes,scrollbars=yes,status=no,toolbar=no,left="+x+",top="+y+"";
closeup = window.open("JOBFRAMES.php","whatever",strOpt);
close();
closeup.focus();
}
</SCRIPT>
etc...
etc...
<a href="Javascript" ONCLICK="spawnwindow('logpass',800,600);">Continue</a>
any help appreciated.
thx.
Last edited by mikemm : April 12th, 2001 at 03:21 AM.
|