View Full Version : scrollbars problem

03-23-2005, 01:21 AM
I have opened a new window with an event handler i.e. onClick=window. open(url,status=no,menubar=no,scrollbars=no,resiza
ble=no), and this window does not have scroll bars.

I then call a JavaScript function containing; window.location=new url, to open a new url in the same window, but the new url opens and the window now has scroll bars. Can anyone tell me what is happening here please. I don't want scroll bars on the window.

03-23-2005, 02:53 AM
var MY_NEW_WINDOW=window.open("blah.html","blah","scrollbars=no");

function openNewURLInSameWindow(){



You see, you have to give your window a name to acces it.