Click to See Complete Forum and Search --> : document.write


Tea.Cup
02-02-2003, 12:18 PM
I have two problems.
a.
How do I make the new created window not add to it's self but create anew. (When working in a frame.)
b.
How do I make that created document open another window with no toolbar.

Sergey Smirnov
02-02-2003, 11:50 PM
I have replaced couple string in your code.
Is it the functionality you want to have?


....
stats='toolbar=no,location=no,directories=no,status=yes,menubar=no' //,height=300,width=300,'
stats += 'scrollbars=yes,resizable=yes';
MsgBox = window.open ("","resadtin"+Math.round(Math.random()*1000000),stats);
.....

Tea.Cup
02-04-2003, 03:21 PM
The problem is it does not open in the required frame.
I need it to be in the same frame but a new page - replacing the old with the new.