Update of /cvsroot/phpmychat/phpMyChat-0.15/chat
In directory usw-pr-cvs1:/tmp/cvs-serv9441/chat
Modified Files:
help_popup.php3
Log Message:
Add a js function to kill the pointer to this window at unload
Index: help_popup.php3
===================================================================
RCS file: /cvsroot/phpmychat/phpMyChat-0.15/chat/help_popup.php3,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -r1.8 -r1.9
*** help_popup.php3 2001/04/19 21:05:04 1.8
--- help_popup.php3 2001/04/20 19:55:07 1.9
***************
*** 152,160 ****
}
} // end of the 'pmcCmd2Input()' function
//-->
</script>
</head>
! <body class="mainframe" onload="if (window.focus) window.focus()">
<center>
--- 152,170 ----
}
} // end of the 'pmcCmd2Input()' function
+
+
+ /**
+ * Kill the pointer to this window
+ */
+ function pmcKillPointer()
+ {
+ if (typeof(window.opener) != 'undefined')
+ window.opener.window.parent.jsHelpPopupWin = null;
+ } // end of the 'pmcKillPointer()' function
//-->
</script>
</head>
! <body class="mainframe" onload="if (window.focus) window.focus()" onunload="pmcKillPointer()">
<center>
|