Emoticons in post system

0

I have a system of postings on my site, but there are very few options for 'personalization' of the posting by the user. Then I would like to insert the option that the user inserts emoticons into the posts.

When I refer to inserting emoticons, I am referring to the user by symbols in the post field and by posting these symbols become emoticons.

How do I enter it into my script? I would like a step by step how to do this.

    
asked by anonymous 21.07.2016 / 20:17

1 answer

1

You can use this plugin very simple to implement It works like this:

$('.comment').emoticonize();
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script><linkrel="stylesheet" href="https://os.alfajango.com/css/jquery.cssemoticons.css">
        <script src="https://os.alfajango.com/js/jquery.cssemoticons.min.js"></script><divclass="comment">
            Hi, this is a great plugin! :-)
        </div>
    
21.07.2016 / 20:26