详细问题描述及疑问:期待您的答案,谢了,下次有事儿别忘了找我 !
<html><head><title>点击打开新窗口</title><scriptlanguage="javascript"><!--functi损晶沿神onopenWin生(){varnewWin=open('','NewWin','menubar=notollbar=noresizeable=yestop=兴哪200left=300location=nostatus=noscrollbars=yeswidth=500height=300');newWin.docu副刑大孔星ment.writ气他兵管区装赶血管e('<h4>这是新打开的子窗口</h4><br>');newWin.document.write('<center><ahref="javascript:self.close念()">关闭子窗口</a></center>');newWin.docume吗落游宗nt.bgColor="yellow";}--></script></head><body><form><inputtype="button"value="点击打开新窗口"onClick="openWin()"></form></body></html>还真难写,花我一个小时,但是还是不能实现关闭子窗口后父窗口背景为红色,其他的功能都实现了