diff options
author | neilmonroe <neil.monroe@gmail.com> | 2009-03-20 13:54:04 -0700 |
---|---|---|
committer | neilmonroe <neil.monroe@gmail.com> | 2009-03-20 13:54:04 -0700 |
commit | 8312a917dc56aa2688df1ab6e4835c73d1130b59 (patch) | |
tree | a3a3d047dde97244a8cbaa2bdd987536f890ba26 | |
parent | 9770514e20d35a9c4597356bdcc519eb01bd0cb0 (diff) | |
download | jquery-countable-8312a917dc56aa2688df1ab6e4835c73d1130b59.zip jquery-countable-8312a917dc56aa2688df1ab6e4835c73d1130b59.tar.gz jquery-countable-8312a917dc56aa2688df1ab6e4835c73d1130b59.tar.bz2 |
Updated `appendMethod` options and added `target` option.
-rw-r--r-- | README.markdown | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/README.markdown b/README.markdown index 66acd70..bf3dca6 100644 --- a/README.markdown +++ b/README.markdown @@ -8,7 +8,8 @@ A jQuery plugin that adds a character counter to inputs and textareas. The countable plugin has 11 settings: * `threshold` - The percentage at which the counter begins to fade in. Default is 0.5. -* `appendMethod` - Either `insertAfter` or `insertBefore` to insert the counter after or before the input/textarea. Default is `insertAfter`. +* `appendMethod` - One of `insertAfter`, `insertBefore`, `prependTo`, or `appendTo` to insert the counter after or before the input/textarea or prepended or appended to the `target` element. Default is `insertAfter`. +* `target` - Container element into which to place the counter * `startOpacity` - The percentage of opacity it should start out with once it reaches the threshold. Default is 0.25. * `maxLength` - The maximum number of characters. Default uses the `maxlength` attribute of the input/textarea. * `maxClassName` - The class name to add once the user has gone over the max number of characters. Default is 'maxed'. |