Re: Chat with php

From: Date: Tue, 08 Oct 2002 13:44:15 +0000
Subject: Re: Chat with php
References: 1 2 3 4 5 6 7  Groups: php.general 
Request: Send a blank email to php-general+get-119253@lists.php.net to get a copy of this message
Thomas Weber schrieb: > I've thought about adding the text on the top, but never found a good way to > make that (not with plain HTML, it would require a java-applet to display > the stream). > Scrolling is quite simple, i use this: > > <head> > <SCRIPT language=JavaScript> > <!-- > doscroll = true; > function Scroller() { > if (doscroll != false) { > window.scrollBy(0,15); > } > window.setTimeout("Scroller()",15) > } > Scroller(); > parent.atok = 'CCOFs'; > function atok(p1) { > parent.atok = p1; > } > //--> > </SCRIPT> > </head> > <body onFocus="doscroll=false" onBlur="doscroll=true" > onMouseOver="doscroll=false" onMouseOut="doscroll=true"> > ... > > It scrolls down whenever the mouse is outside the frame with the stream. > > Cya, > Thomas 'Neo' Weber > Cool, the scroll script is working well. Now, I'm working on a list that shows who's in the chat. The problem is that people who log in don't always log out. I've thought about some time out and automatical log out, but isn't there a way to determine who is on what page, at least how many are on it? Greetings, Olli

« previous php.general (#119253) next »