PDA

View Full Version : Scrollbar on a TextArea problem


datter
03-23-2005, 03:38 PM
Hi all,

I am using a TextArea to pull information from a database via a file called data.php. It's set up with a transparent background and, of course, the scrollbar will appear if there is enough content to warrant it. All of that is fine.

My issue is that when the TextArea first loads there is a fraction of a second before the content appears in it that you can see the scroll bar whether it's needed or not. So, if there is enough content to scroll the TextArea loads and the scroll bar appears... that's fine. If there isn't enough content to scroll the scrollbar shows up for a moment, then disappears when the content is pulled in from the database. It's the latter I want to fix.

Is there any way I can prevent the scrollbar from popping in for a fraction of a second before a small amount of content is pulled in from the database?

Thanks,
datter