smoketer
02-21-2006, 09:45 PM
Is there anyway to modify the code below with an OnChange="self.focus" tag?
<head>
<title>BYRD CHAT</title>
</head>
<body bgcolor="#000000" topmargin="0" leftmargin="0">
<!-- Start of Freechatcode Script -->
<form name="freechatform">
<input type="hidden" name="lg" value="">
<input type="hidden" name="cnm" value="thebyrdfamily">
<input type="hidden" name="wm" value="Welcome%20to%20Byrd%20Chat">
<input type="hidden" name="bg" value="000000">
<input type="hidden" name="fg" value="ffffff">
<input type="hidden" name="bw" value="">
<input type="hidden" name="sh" value="0">
</form>
<script language="JavaScript"
src="http://www.freechatcode.com:8080/freechatcode/js/freecodenew.js"></script>
<!-- End of Freechatcode Script -->
All of this code will open in an independant window (SEE HERE (http://thebyrdfamily.home.comcast.net/chat2.htm)), and anytime a new message comes up from the chat, I want the window to move to the front. I have tried changing the body tag to <BODY OnBlur="self.focus"> but it prevents you from using another window AND it renders the chat window unusable.
<head>
<title>BYRD CHAT</title>
</head>
<body bgcolor="#000000" topmargin="0" leftmargin="0">
<!-- Start of Freechatcode Script -->
<form name="freechatform">
<input type="hidden" name="lg" value="">
<input type="hidden" name="cnm" value="thebyrdfamily">
<input type="hidden" name="wm" value="Welcome%20to%20Byrd%20Chat">
<input type="hidden" name="bg" value="000000">
<input type="hidden" name="fg" value="ffffff">
<input type="hidden" name="bw" value="">
<input type="hidden" name="sh" value="0">
</form>
<script language="JavaScript"
src="http://www.freechatcode.com:8080/freechatcode/js/freecodenew.js"></script>
<!-- End of Freechatcode Script -->
All of this code will open in an independant window (SEE HERE (http://thebyrdfamily.home.comcast.net/chat2.htm)), and anytime a new message comes up from the chat, I want the window to move to the front. I have tried changing the body tag to <BODY OnBlur="self.focus"> but it prevents you from using another window AND it renders the chat window unusable.