Whoops... COOL! Script
This script came about as a result of a NN4 work around for a carriage return in textarea script. I loved the selected text effect it created in NN4 so I scripted the same effect for IE. I think the effect is cool because the default behavior for selected text is that it is overwritten when additional keys are pressed.

But with this script, all characters are selected in real time, as you type, without overwriting. If the backspace key is pressed, the text is unselected (IE) and the last character typed is removed. When typing resumes, all text is selected again and the cursor is inserted back to where you left off.

Now the issue is what to do with it. I thought about using it as a neat UI effect for a textarea maxlength limiter, and plan on trying it, but there's got to be something else... some ultimate use that excites the average user as much as it does scripters.

That is where I need your help. If you come up with an idea or script based on it that you'd like to share, I'd love to hear about it!

OK, so check it out already. Just start typing...


View the Source

Home | Tutorials | Contact