PDA

View Full Version : [DHTML] Typer



mburt
08-04-2006, 10:18 PM
1) Typer

2) AUTHOR NAME/NOTES: Mike Burt

3) DESCRIPTION: Types the entry in a textbox in actual time.

4) URL TO CODE: http://www40.brinkster.com/mburt/scripts/typer.htm

Also attached below

Twey
08-04-2006, 11:30 PM
http://www.dynamicdrive.com/dynamicindex10/text5.htm
:)

mburt
08-04-2006, 11:36 PM
Mine's actually alot different than that. Mine is like an iframe, and it automatically scrolls once the divinsion's height is exceeded.

Twey
08-05-2006, 12:14 AM
Ah, nice.

mburt
08-05-2006, 12:25 AM
That probably sounds impressive.. But the only line of code I added to do that was

obj.scrollTo=obj.scrollHeight

LoL

ddadmin
08-06-2006, 03:29 PM
Hmm scrolling textareas are so 90s in my opinion (no offense to your code of course). :)

mburt
08-07-2006, 01:13 AM
I had it originally done in a div, but then... I tested it in Mozilla, and it didn't work, so I tried a bunch of different stuff, and a textarea was the only thing I found that could work. But, I made the textarea look exactly as the div would've looked anyways. :)