I have sucessfully developed a php/mysql/javascript chat that appends messages to an iframe.
However, I’ve changed it to scroll a <div>, rather than use an iframe. The appending messages to the divide layer works fine, and the div scrolls good.. however I’m having trouble scrolling to the bottom in Mozilla
[CODE]document.getElementById(“chattext”).scrollIntoView(false);
works perfectly in IE, but not in mozilla.
I read the documentation for mozilla regarding scrollintoview() and it seems they do support it. However, as I mentioned, it does not work, and the JavaScript Console in FireFox provides no error messages.
Could anyone lend me a pointer?