Convert jquery. qqFace. js emoticon into a QR code,
Jquery. qqFace. js usage
Reference
<Script src = "~ /Content/qqFace/js/jquery. qqFace. js? V = 3 "> </script>
<Script src = "~ /Content/qqFace/js/jquery-browser.js "> </script>
Html
<Div>
I combined the QR codes by myself in the order of the above expressions. Do some of them not find them? They are expressed in text directly. What they receive can also be converted into an emoticon.
Private string emoij = "/::);/::~; /: B;/: |;/: <;/: $;/: X;/: Z ;/::'(;/:: -|;/: @;/: P;/: D;/: O;/: :(;/:-B;/: Q ;/:: t;/:, @ P;/:, @-D;/: d;/:, @ o;/: g;/: | -);/: :!; /: L;/:>;/:, @;/:, @ f;/:-S ;/:?; /:, @ X;/:, @;/: 8 ;/:,@!; /: Xx;/: bye;/: wipe;/: dig;/: &-(;/: B-);/: <@;/: @> ;/: :-O;/:>-|;/: P-(;/: '|;/: X-);/: *;/: @ x ;/: 8 *; [hug]; [moon]; [Sun]; [bomb];/:!; /: Pd;/: pig;/: <W>;/: coffee;/: eat;/: heart; [strong]; [Weak]; [handshake]; [victory]; [hug]; [seduce]; [OK]; [NO];/: rose;/: fade;/: showlove; [skip]; [circle] ";
Var emoijarray = emoij. Split (';');
Int len = emoijarray. Length;
For (int I = 0; I <len; I ++)
{
String str = string. format (" ",'"', I + 1 ,'"','"','"');
If (xmlstr. contains (str) // check whether the text message sent Contains emoticon tags. If there are tags, replace them with the corresponding tokens. Maybe you can better replace them, this is just a loop to find matching replacement
{
Xmlstr = xmlstr. Replace (str, emoijarray [I]);
}
}
This is where you will receive your facial expression.