02 Apr 2014
How to turn text smiley faces the right way up with Smiley.js
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.
Add smileys.js to the end of the body after JQuery
Step 2 - Smilify
Just call smilify on any element as you would any other JQuery function.