File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "user Watch "user New topic
Author

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
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
http://radio.javaranch.com/pascarello/2006/08/17/1155837038219.html

Eric

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!
 
Don't get me started about those stupid light bulbs.
 
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...