Forums

[Plugin: wp-Monalisa] Add JS to enable/hide smilies in commentarea (5 posts)

  1. infected
    Member
    Posted 5 months ago #

    Hi!

    Is it possible to a javascript that enable/hide smilies on click on a link? If someone uses more than x smilies, or the smilies are bigger than regular ones, the comment area will be longer and longer because all smilies are displayed by default.

  2. tuxlog
    Member
    Posted 4 months ago #

    hello infected,
    theres an easy way to handle this. just change the css of wpml-commentbox and add
    /* use these three to minimize space and scroll through the smilies */
    overflow:scroll;
    width: 470px;
    height: 200px;

    of course you have to adjust the height and width to your needs

    hope it helps

    cheers hans

  3. infected
    Member
    Posted 4 months ago #

    Hi tuxlog!

    Thanks for your reply! Of course this works, but it looks terrible with scrollbars. ;-) I think the mentioned js solution is a better way. I don“t know much about JS, otherwise i would have already tried it...

  4. tuxlog
    Member
    Posted 1 month ago #

    hello infected,

    there will be a new wp-monalisa release with a hopefully nice ajax effect for showing more or less smilies. just have a look at http://www.tuxlog.de in about 10 hours :-)

    cheers hans

  5. tuxlog
    Member
    Posted 1 month ago #

    it is out :-)

Reply

You must log in to post.

About this Topic