k4gdw / RemainingCharacters

A jQuery plugin that adds a "characters remaining" display to an input or textarea html element.
2 stars 0 forks source link

Generate a floating div to hold the number of characters remaining. #2

Open k4gdw opened 12 years ago

k4gdw commented 12 years ago

It would be nice if the plugin could insert a floating div just above, or below, the text box instead of requiring an output target element to be supplied. Perhaps the target element could be optional. If it's supplied, use it, otherwise, generate a floating div. Perhaps that floating div could appear when the user is typing, and fade out if they stop typing for more than some number of seconds.

What I mean by floating div is a div that is outside the flow of the page (the page flows underneath it) so that it doesn't alter the layout of the page when it appears.

k4gdw commented 12 years ago

a beta version of this fix is in the 2.2.0b branch.