Hello!

I have a web application where status messages are displayed in a small area of screen. I need the text to scroll down to the last message as the status messages are being added. But only the first messages are shown and the user has to manually scroll down to get the rest of the messages.

Does anyone know how i can show the last messages automatically?

The messages are being generated by JavaScript and i used css for the scroll (overflow:auto)

Any help will be much appreciated.
Thanks!

please send the code ...

why not just use java to scroll it for you?
use a marque type script

Yeah, javascript can set the scroll bar location, look into that.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.