daviiie
08-09-2006, 03:09 PM
function NewBrowser2(url, name, h, w, l) {
string = 'top=0, left=' + l
newwindow = window.open(url, name, string);
if (window.focus){
newwindow.focus()
newwindow.resizeTo(h, w);
}
}
There is my code. It works upto a point, it opens a new window, focuses on that window, but the "newwindow.resizeTo(h, w);" doesn't work.
Any Ideas?
string = 'top=0, left=' + l
newwindow = window.open(url, name, string);
if (window.focus){
newwindow.focus()
newwindow.resizeTo(h, w);
}
}
There is my code. It works upto a point, it opens a new window, focuses on that window, but the "newwindow.resizeTo(h, w);" doesn't work.
Any Ideas?