kinda freaking out

Out of context: Reply #2

  • Started
  • Last post
  • 4 Responses
  • linearch0

    gab. i should have clarified this earlier. the pop ups work in both safari and in IE, just the resize function does not.

    here is the JS for the pop up:

    var win = null;
    function NewWindow(mypage,myname,w,h,scro...
    LeftPosition = (screen.width) ? parseInt((screen.width-w)/2) : 0;
    TopPosition = (screen.height) ? parseInt((screen.height-h)/2) : 0;
    settings =
    'height='+h+',width='+w+',top...
    win = window.open(mypage,myname,settin...
    if(win.window.focus){win.window...
    }

    this is cool in both
    this is not:
    function full_screen(){
    window.moveTo(0,0)
    window.resizeTo(screen.width-10...
    }

View thread