Submit articles - Web directory - Debt Consolidation - ID badge templates - Find jobs

PDA

View Full Version : Help to Change Y Page Scroll Position


jodfran
Jun 26th 2008, 3:01 am
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.