WordPress.org

Ready to get started?Download WordPress

Forums

Comments textarea (3 posts)

  1. basketball
    Member
    Posted 9 years ago #

    Ive seen this at a few sites, where underneatht he comments textarea there is a link to increase and decrease the size of the box? I'm just wondering how you do that.
    PS. I usually just search for this, but havn't gotten any irrelevent results after around 5 different searches.

  2. basketball
    Member
    Posted 9 years ago #

    I found an answer with a google search :), but it isn't specific to wordpress. Works with all text boxes

    (Comment textarea: <span style="cursor: pointer;" onclick="document.getElementById('comment').rows += 5;" title="Click to enlarge the comments textarea">Increase size</span> | <span style="cursor: pointer;" onclick="document.getElementById('comment').rows -= 5;" title="Click to decrease the comments textarea">Decrease size</span>

  3. MathiasBynens
    Member
    Posted 9 years ago #

    In fact, that method isn't too semantically correct... You can read more about that in my post regarding textarea resizer JavaScripts.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.