public
Description: A comment traverser to help manage conversations on web pages.
Home | Edit | New

Encouraged Form

Get a lightbox, live preview, and generate HTML on the fly instead of the TextArea

To get form enhancements on your site all you need to do is add the class ‘encouraged-form’ for your comment form.

  • Once you do this users will no longer be forced to the bottom of your page.
  • Your form will be temporarily transported into a lightbox and then put back if the user cancels out.
  • The directive and quote are stored in javascript and the user is given a manner to remove the quote / directive from their comment if they’d like.
  • The user will see a live preview of their comment generated for them as they type!

Any of these features can be toggled off and if you don’t add the ‘encouraged-form’ class everything behaves as it once did before.

This:

   <body...
<code>
   <form method="post" id="commentform">
      <h3>Leave a Reply</h3>
      ...
   </form>
</code>
   .../body>

Becomes:

   <body...
<code>
   <form method="post" id="commentform" class="encouraged-form">
      <h3>Leave a Reply</h3>
      ...
   </form>
</code>
   .../body>
Last edited by jimjeffers, Sat Jan 17 23:53:34 -0800 2009
Home | Edit | New
Versions: