Help to Change Y Page Scroll Position

Discussion in 'JavaScript' started by jodfran, Jun 26, 2008.

  1. #1
    Hi, i'm not a javascript developer so I need some help with the page scroll position.

    I have this javascript I use to make a link bring up a new window with the following properties:

    function popUp(URL) {
    day = new Date();
    id = day.getTime();
    eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=1015,height=750,left = 490,top = 352');");
    }


    I'm also wanting the page to scroll 100 pixels from the top for the user and to remain there on a refresh.

    Any help would be much appreciated.
     
    jodfran, Jun 26, 2008 IP