I recently released a small script I built last year. I took the time to clean it up and I thought you all might enjoy it.

I’m proud to announce the Smiley.js Jquery plugin. This tiny plugin can take some ordinary looking smiley faces and turn them into things that people actually recognise :D –> :D.

How do I use it?

CloudCannon is kindly giving the power of Smileys to everyone. If you want to use it just check out the GitHub repo and add the files to your site.

Step 1 - Add the happiness

Add the smileys.css file to the head.

<link rel="stylesheet" href="smiley.css">

Add smileys.js to the end of the body after JQuery

<script src="smileys.js"></script>

Step 2 - Smilify

Just call smilify on any element as you would any other JQuery function.