Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
The moose likes HTML, CSS and JavaScript and the fly likes user's viewpoint synchronization problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "user Watch "user New topic

user's viewpoint synchronization problem

Goran Markovic
Ranch Hand

Joined: Sep 26, 2008
Posts: 399
Hi. I have no solution, still for my problem. Maybe its easy, but for now is a problem.
It's sort of chat application. I am receiving some response text from server into my div block.But, when I receive that amount of text, which requires scrolling, the viewpoint of new data isnt show. The box won't to be scrolled to the newly received data but it stays at the begin on div.In that case, user need to scroll down in order to see new data. Can I perform this things to occurs automatically - scrolling to the new (latest) data to occurs right after the new data has arrived and populate div box by appending it at the end of the existing content?
What would you advice me to do?
Thanks in advance!
Eric Pascarello

Joined: Nov 08, 2001
Posts: 15376


Goran Markovic
Ranch Hand

Joined: Sep 26, 2008
Posts: 399
It won't work. Sometimes does, but sometimes not. I am using JQuery, and maybe some problems occurs due to that?
Goran Markovic
Ranch Hand

Joined: Sep 26, 2008
Posts: 399
Hi. I resolve the problem. Actually, all I needed is to add few lines of code
Thanks on your helpful hints!
I agree. Here's the link:
subject: user's viewpoint synchronization problem
Similar Threads
How would be the best way to parse HTML Content ?
jsp & HTML
problem with check box
SQL injection and HTML
JTable Skewed view...