« automatically close comments on old entries | Main | add smilies to comments with ease »

live comment preview

Live comment preview allows commentors to see what their comment will look like as they type it. It's a neat trick, although it works best if you have your comment posting form on the individual entry archive page or otherwise do it from a full-size window rather than in a comments pop-up.

Start here, but modify it according to this if you have "convert line breaks" on as most people do. The modified version of live comment preview will fake the line breaks. Otherwise they don't show up and when people try to insert them, it messes up the actual published comment.

Comments

Hi! I've also done something like this. You can check it at http://f14web.com.ar/inkel/2003/07/30/comment_preview_with_js_and_dom.html.

This version allows you to enter HTML tags and will render them nicely. It's still need a little rework, but I'm planning to review it this weekend. Goodbye

inkel

PS: Excuse my english, I'm from Argentina.

About This Blog

  • Disclaimer: This is a personal site and is not connected with Six Apart, Ltd, the makers of Movable Type
  • Contact me:
  • Readme: What this blog is and is not
  • Reference: Templates for Al-Muhajabah's Islamic Blogs

August 2008

Sun Mon Tue Wed Thu Fri Sat
          1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30
31            

Tips by Type

Tips by Area

Other ways to read this blog

Feed Subscribe to this blog's feed
(default is RSS 2.0, I also have RSS 1.0 and Atom)

Text-only version
Powered by
Movable Type 3.2