PDA

Click to See Complete Forum and Search --> : window.open (resolved)


tr0n
Jul 31st, 2002, 07:15 AM
on a web page, i'm using this code to open a new window:

function openwin(url,x,y) {
window.open(url, '_new', 'toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=1,width='+ x +',height='+ y);
}

which works fine. but from within this new window, i want to open yet another window, but when i use that code again, it just loads the new page in the same window. is there any way i can fix that?

thanks

cpradio
Jul 31st, 2002, 07:36 AM
change _new to _blank

tr0n
Jul 31st, 2002, 08:17 AM
ahh, thanks :)