#1
  1. No Profile Picture
    Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Apr 2001
    Location
    Zimbabwe
    Posts
    14
    Rep Power
    0

    Question


    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,to olbar=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 04:21 AM.
  2. #2
  3. No Profile Picture
    Senior Citizen
    Devshed Regular (2000 - 2499 posts)

    Join Date
    Jan 2001
    Location
    leftcoast
    Posts
    2,019
    Rep Power
    16

IMN logo majestic logo threadwatch logo seochat tools logo