HTML Code

  • Started
  • Last post
  • 1 Response
  • anonyms

    hi all again. just wondering i use this bit of code to open a new window in the center of a page after clicking on a link.

    var saw,sah;
    function moveWin() {
    saw = screen.availWidth;
    sah = screen.availHeight;
    self.moveTo(((saw/2)-198),((sah...
    // these numbers should be 50% of the size of the pop up, defined in index.html
    }
    onload=moveWin;

    Is there any other code to open the new window in the center of the existing window

  • ********
    0

    open that new window you typed to "Google" and copy to your hearts content.