Emoticons on posting system

Asked

Viewed 76 times

0

I have a system of posts on my site, but there are very few options for the 'customization' of the post by the user. Then I would like to insert the option that the user insert emoticons in the posts.

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

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

1 answer

1

You can use that plugin very simple to implement It works that way:

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

Browser other questions tagged

You are not signed in. Login or sign up in order to post.