在框架页面中onunload事件的不明啊!!有时正常,有时不正常。 <body onkeydown="alert(event.keyCode)">按键盘看结果8 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 <SCRIPT LANGUAGE=javascript>function ExitChat(){aa=window.open("exit.asp","aa","top=0,left=0,width=10,height=10")aa.moveTo(-200,-200)}</SCRIPT><head></head> <frameset rows="*,60" Frameborder=False border=0 framespacing=0 onunload="javascript:ExitChat()"><frameset cols="*,118,0" Frameborder=0 border=0 framespacing=0> <frameset rows="0,*" frameborder=0 border=0 framespacing=0> <frame name="Top" src="Top.Asp" marginwidth=0 marginheight=0 scrolling="no" target="_self"> <frame name="ShowSays" src="about:blank" scrolling="auto" marginwidth=0 marginheight=0> </frameset>--> <frame name="List" src="List.Asp" scrolling="auto" marginwidth=0 marginheight=0 noresize target="_self"> <frame name="Say2" src="Look.Asp" scrolling="no" marginwidth=0 marginheight=0 noresize></frameset> <frame name="Say" src="Say.Asp" marginwidth=0 marginheight=0 scrolling="no" noresize target="_self"> <noframes> <frameset rows="*,60" Frameborder=False border=0 framespacing=0 onbeforeunload="javascript:ExitChat()"> getJSON 无法回调函数? jquery ajax 返回值的问题,急求解决! 现在论坛怎么都是些jquery和ext了? return false 的作用? XML文件本地存储问题 关于ActiveXObject的参数的问题 感谢本版朋友的帮助,散分100 java显示中文问题 请问关于向服务器端提交表单内容的问题 有象csdn论坛的动态菜单原代码吗?? 菜鸟问题:怎样定义数组?多谢! css定义event函数
function ExitChat()
{
aa=window.open("exit.asp","aa","top=0,left=0,width=10,height=10")
aa.moveTo(-200,-200)
}</SCRIPT>
<head></head>
<frameset rows="*,60" Frameborder=False border=0 framespacing=0 onunload="javascript:ExitChat()"><frameset cols="*,118,0" Frameborder=0 border=0 framespacing=0>
<frameset rows="0,*" frameborder=0 border=0 framespacing=0>
<frame name="Top" src="Top.Asp" marginwidth=0 marginheight=0 scrolling="no" target="_self">
<frame name="ShowSays" src="about:blank" scrolling="auto" marginwidth=0 marginheight=0>
</frameset>-->
<frame name="List" src="List.Asp" scrolling="auto" marginwidth=0 marginheight=0 noresize target="_self">
<frame name="Say2" src="Look.Asp" scrolling="no" marginwidth=0 marginheight=0 noresize>
</frameset> <frame name="Say" src="Say.Asp" marginwidth=0 marginheight=0 scrolling="no" noresize target="_self">
<noframes>