WordPress.org

Support

Support » Plugins and Hacks » [Plugin: wp-Monalisa] Add JS to enable/hide smilies in commentarea

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

  • 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.

Viewing 5 replies - 1 through 5 (of 5 total)
  • 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

    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…

    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

    it is out πŸ™‚

    Danke πŸ™‚

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Plugin: wp-Monalisa] Add JS to enable/hide smilies in commentarea’ is closed to new replies.
Skip to toolbar