Hey folks!
I've been working with Luis' chat tutorial (http://www.phpbuilder.com/columns/luis20000724.php3), and after getting it working, I have a couple of questions.
In the chat window, I want the 4 second refresh to take me to the bottom of the frame, so the newest messages appear at the bottom of the page. (Otherwise you have to scroll down every four seconds.) I think the JS ScrollTo() method is the way to do it, but I can't figure out how to implement it.
One of the posters mentioned that a new session was being created every time the chat frame was reloaded, and that the session should be started outside of that page/frame, so that you don't create a new session every four seconds. Any guidance on this idea would be appreciated.
Thanks in advance for the help,
Mark
For (1) you could put an <a name="bottom"></a> where you want the page to jump to, and a #bottom fragment in the URL. Or call it something else.
(2) Find out if and when it does or not, first.