Keeping New List Contents in View
General
This code demonstrates how to keep the content at the bottom of a list always in view, similar to a chat window.
A simple chat-style display
Good afternoon. How are you?
Hello?
Is anybody there?
Notes
- Created by: James Robertson
- Web Site: http://www.r0bertson.co.uk
- Posted: January 14, 2008
Source Code
Paste this source code into the designated areas.
External file
Paste this code into an external JavaScript file named: listContents.js
CSS
Paste this code into your external CSS file or in the <style> section within the HEAD section of your HTML document.
Head
Paste this code into the HEAD section of your HTML document.
Body
Paste this code into the BODY section of your HTML document


Leave a Response
(2 comments)It should be working now. Thanks for pointing it out.
ERROR: Script keeping-new-list-contents-in-view.html is missing at /www2/jss/cgi-bin/scriptbot2.cgi line 53.