The back scroll on the chat goes away when you navigate to another page. I use a variable on the client side to track the last message ID received on my shoutbox. If it resets to 0, which it will when the page reloads or you go to another page, the chat client will reload the messages.
working on a chat for the site
By ghostfreak
January 3, 2024 AT 12:12 AM (updated: 11 months ago)
What does everyone think about a chat being added to the site. Also, what does everything think about artists being able to sell their artwork. Let me know in the comments.
Comments 3
all good ideas
Also, reset the message textarea to an empty string when the comment is posted.