Ben wrote:I think scrolling is just fine as long as
1) the most recent messages are shown automatically
2) the input new chat field is OUTSIDE the scroll area
Anyway, the old way took up too much screen.
I was just about to say these too.
There's two ways to tackle the recent messages thing.
First, at the end of the page add this;
Then, whenever you call the chat.php add #endchat to it. This should make it scroll to that point once it's loaded.
The other way to deal with it is to reverse the order of the records via SQL when you retreive them from the database.
Regarding the chat input form... Have the chat form in the main page and set the forms target="" to the name="" of the inlineframe. You'll need to add that name="" I see.