How to Add Quick Props Feature to Your Blog

Red Robot

I happen to be one of those people who like the [this is good] feature on Vox. As mentioned in the Team Vox blog when the feature was released, it was meant to add “the ability to tell someone you like something of theirs, without the pressure of having to write a comment or think of something clever to say.” Since only a few of you care enough to leave a comment every now and then, I thought I’d add a similar feature to this blog. If you like any entry I posted but don’t really feel like writing a comment, just tick the checkbox. The word “Fabulous!” will show up in the comment box that you can submit to let me know that you enjoyed the post. Of course you can append more text to it. The longer the comments, the happier I’ll be, but even a nice, one-word comment is better than no comments at all. Hence the added feature.

If you’d like to incorporate this quick props feature into your blog, this is the javascript I’m using (if your blog is powered by Movable Type, you can just copy and paste the following code into your mt-site.js):

function thisisgood() {
var props = document.getElementById('props');
var text = document.getElementById('text');

if (props.checked==true) {
text.value=props.value;}

else {text.value="";}
}

And this is the HTML for the checkbox to incorporate into your comment form:

<input type="checkbox" id="props" name="props" value="Fabulous!" onclick="thisisgood()" /> Fabulous!

This code will only work if your checkbox id is called “props” and the textarea id is “text”. Otherwise, you’ll have to modify it accordingly. Should be a piece of cake, even if you’re not too familiar with javascripts.

Anyway, I just thought I’d share. Hope you find this useful!

Leave a Reply

11 Comments on "How to Add Quick Props Feature to Your Blog"

Notify of
avatar
Sort by:   newest | oldest
Jordan
Guest

Fabulous!

colbert
Guest

Fabulous! and ditto again. I like this feature. Its saves time and sometimes I hate to type..

Bonita in Pink
Guest
Bonita in Pink

Fabulous!
*testing*
That’s cool!

Lucky7
Guest

Fabulous!
Very cool.

Lady M
Guest

Fabulous!

Lady M
Guest

I tried to add this feature on blogger but I was unable…can you help?
http://lovemyroxxy.blogspot.com/
thanks!
:)

cindy
Guest

Fabulous!
This is very useful! Thank you for sharing it :) And would you mind sharing your vox account name so I can friend you?

Firda
Guest

@Lady M: I don’t think you can add this feature to Blogger since Blogger’s comment form is not customizable. Sorry!
@cindy: My vox account is firda.vox.com. Feel free to friend me but I don’t update my Vox very often. :)

claudine
Guest

Fabulous! :)

marie b.
Guest

Fantastic. I just implemented over on my own blog.

lincoln
Guest

Fabulous!

wpDiscuz