<html>
<head>
<title>离开</title>
<script language="vbscript">
<!--
sub window_onunload //关闭窗口的事件驱动!
shu = msgbox ("你在本站玩的快乐吗?",4)
if shu = 6 then //是msgbox的返回值,单击是时返回值是6,单击否时返回值是7!
msgbox "欢迎您再次到来!"
else
msgbox "对不起,下次会改进!"
end if
end Sub
-->
</script>
</head>
<from> cvcxcxvcvxcv </from>
</html>
这个程序主要是关于对msgbox函数的返回值的应用!