LoneWolf
09-04-2003, 05:12 AM
i've just recently begun with javascripts, and i've run into a problem.actually two...
the first, is there a way to close a parent window, without having to confirm the closing?
and it seems that my child-popup won't use the hight/width that i tell it to..
this is the script i'm using:
<SCRIPT LANGUAGE="JavaScript">
function WindowOpen() {
msg=window.open('safran.html','Sample',
'toolbar=no',
'location=no',
'directories=no',
'status=no',
'menubar=no',
'scrollbars=no',
'resizable=no',
'copyhistory=yes',
'width=450','height=300');
}
</SCRIPT>
the first, is there a way to close a parent window, without having to confirm the closing?
and it seems that my child-popup won't use the hight/width that i tell it to..
this is the script i'm using:
<SCRIPT LANGUAGE="JavaScript">
function WindowOpen() {
msg=window.open('safran.html','Sample',
'toolbar=no',
'location=no',
'directories=no',
'status=no',
'menubar=no',
'scrollbars=no',
'resizable=no',
'copyhistory=yes',
'width=450','height=300');
}
</SCRIPT>