Sonya
02-16-2003, 08:43 PM
I adapted a 'crystal ball' script from JavaScript Kit by Michael Mc Dermott.
Everything works fine. However, I would like a parent popup page to close automatically when a child popup page is closed.
Also, I would like to introduce a form 'close' button onto the child popup instead of:
newWindow.document.write("<P align='center'><A HREF='javascript:window.close()'><font size=2>Close Me</font></A></P>")
}
</script>
Everywhere I put it, the scripts fight each other to a standstill.
I read about "javascript:end" but I don't know where to put it.
Unfortunate cut and paste person!
Sonya
Everything works fine. However, I would like a parent popup page to close automatically when a child popup page is closed.
Also, I would like to introduce a form 'close' button onto the child popup instead of:
newWindow.document.write("<P align='center'><A HREF='javascript:window.close()'><font size=2>Close Me</font></A></P>")
}
</script>
Everywhere I put it, the scripts fight each other to a standstill.
I read about "javascript:end" but I don't know where to put it.
Unfortunate cut and paste person!
Sonya