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 --- [EMAIL PROTECTED] [EMAIL PROTECTED] ----- Original Message ----- From: "Oliver Witt" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>; "Thomas Weber" <[EMAIL PROTECTED]> Sent: Tuesday, October 08, 2002 10:51 AM Subject: Re: [PHP] Chat with php > > Hey cool, > That's working. The only problem I have now is that I want the most recent text > at the top. But that script adds it on the bottom. Any way to change that? At > least a way to always scroll automatically to the bottom? > Cya, > Olli -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php