Jquery

Skype style emotions using jquery

Introducing a new jQuery emotions plugin, This helps you to convert text symbols to emotion images like how social chat editor works. This plugin developed using javascript regular expression match rules.

The Basic Setup
Include the jQuery and emotions plugin libraries into your document using script tag.

Calling Plugin

Plugin Code
This code helps to replace text code to emotion icons using array mapping.

Example Usage
Included jQuery plugin in head tag and ajax code included in this jquery function $(“#showText”).emotions()- showText is the ID name of div tag. Emotions plugin helps to converts <3 to emotion icon.