What I wanted to do is have it so the parent window will pop up a child and then the parent will close without a prompt.
onClick="window.open('2.htm','newWindow','width=1024,height=768,toolbar=no,scrollbars=no,resizable=no,location=no,directories=no,menubar=no'); window.open('','_parent',''); windowClose();">close parent window</a>
and I had a function:
function windowClose() {
window.open('','_parent','');
window.close();
}
and that didn't work for firefox.
Am I missing something?








Bookmarks