td.graph { font-size:24px; }
UNICODE 7.0定义了78个表情符,从0x1F600到0x1F64F(其中0x1F643和0x1F644没有定义)。下表中列出了这些表情符,如果第一列CHART没有显示,说明你的浏览器还不支持。
参考资料:http://www.unicode.org/Public/7.0.0/charts/CodeCharts.pdf
emojiList = new Array
(
{ id: 0x1F600, desc: "GRINNING FACE"},
{ id: 0x1F601, desc: "GRINNING FACE WITH SMILING EYES"},
{ id: 0x1F602, desc: "FACE WITH TEARS OF JOY"},
{ id: 0x1F603, desc: "SMILING FACE WITH OPEN MOUTH"},
{ id: 0x1F604, desc: "SMILING FACE WITH OPEN MOUTH AND SMILING EYES"},
{ id: 0x1F605, desc: "SMILING FACE WITH OPEN MOUTH AND COLD SWEAT"},
{ id: 0x1F606, desc: "SMILING FACE WITH OPEN MOUTH AND TIGHTLY-CLOSED EYES"},
{ id: 0x1F607, desc: "SMILING FACE WITH HALO"},
{ id: 0x1F608, desc: "SMILING FACE WITH HORNS"},
{ id: 0x1F609, desc: "WINKING FACE"},
{ id: 0x1F60A, desc: "SMILING FACE WITH SMILING EYES"},
{ id: 0x1F60B, desc: "FACE SAVOURING DELICIOUS FOOD"},
{ id: 0x1F60C, desc: "RELIEVED FACE"},
{ id: 0x1F60D, desc: "SMILING FACE WITH HEART-SHAPED EYES"},
{ id: 0x1F60E, desc: "SMILING FACE WITH SUNGLASSES"},
{ id: 0x1F60F, desc: "SMIRKING FACE"},
{ id: 0x1F610, desc: "NEUTRAL FACE"},
{ id: 0x1F611, desc: "EXPRESSIONLESS FACE"},
{ id: 0x1F612, desc: "UNAMUSED FACE"},
{ id: 0x1F613, desc: "FACE WITH COLD SWEAT"},
{ id: 0x1F614, desc: "PENSIVE FACE"},
{ id: 0x1F615, desc: "CONFUSED FACE"},
{ id: 0x1F616, desc: "CONFOUNDED FACE"},
{ id: 0x1F617, desc: "KISSING FACE"},
{ id: 0x1F618, desc: "FACE THROWING A KISS"},
{ id: 0x1F619, desc: "KISSING FACE WITH SMILING EYES"},
{ id: 0x1F61A, desc: "KISSING FACE WITH CLOSED EYES"},
{ id: 0x1F61B, desc: "FACE WITH STUCK-OUT TONGUE"},
{ id: 0x1F61C, desc: "FACE WITH STUCK-OUT TONGUE AND WINKING EYE"},
{ id: 0x1F61D, desc: "FACE WITH STUCK-OUT TONGUE AND TIGHTLY-CLOSED EYES"},
{ id: 0x1F61E, desc: "DISAPPOINTED FACE"},
{ id: 0x1F61F, desc: "WORRIED FACE"},
{ id: 0x1F620, desc: "ANGRY FACE"},
{ id: 0x1F621, desc: "POUTING FACE"},
{ id: 0x1F622, desc: "CRYING FACE"},
{ id: 0x1F623, desc: "PERSEVERING FACE"},
{ id: 0x1F624, desc: "FACE WITH LOOK OF TRIUMPH"},
{ id: 0x1F625, desc: "DISAPPOINTED BUT RELIEVED FACE"},
{ id: 0x1F626, desc: "FROWNING FACE WITH OPEN MOUTH"},
{ id: 0x1F627, desc: "ANGUISHED FACE"},
{ id: 0x1F628, desc: "FEARFUL FACE"},
{ id: 0x1F629, desc: "WEARY FACE"},
{ id: 0x1F62A, desc: "SLEEPY FACE"},
{ id: 0x1F62B, desc: "TIRED FACE"},
{ id: 0x1F62C, desc: "GRIMACING FACE"},
{ id: 0x1F62D, desc: "LOUDLY CRYING FACE"},
{ id: 0x1F62E, desc: "FACE WITH OPEN MOUTH"},
{ id: 0x1F62F, desc: "HUSHED FACE"},
{ id: 0x1F630, desc: "FACE WITH OPEN MOUTH AND COLD SWEAT"},
{ id: 0x1F631, desc: "FACE SCREAMING IN FEAR"},
{ id: 0x1F632, desc: "ASTONISHED FACE"},
{ id: 0x1F633, desc: "FLUSHED FACE"},
{ id: 0x1F634, desc: "SLEEPING FACE"},
{ id: 0x1F635, desc: "DIZZY FACE"},
{ id: 0x1F636, desc: "FACE WITHOUT MOUTH"},
{ id: 0x1F637, desc: "FACE WITH MEDICAL MASK"},
{ id: 0x1F638, desc: "GRINNING CAT FACE WITH SMILING EYES"},
{ id: 0x1F639, desc: "CAT FACE WITH TEARS OF JOY"},
{ id: 0x1F63A, desc: "SMILING CAT FACE WITH OPEN MOUTH"},
{ id: 0x1F63B, desc: "SMILING CAT FACE WITH HEART-SHAPED EYES"},
{ id: 0x1F63C, desc: "CAT FACE WITH WRY SMILE"},
{ id: 0x1F63D, desc: "KISSING CAT FACE WITH CLOSED EYES"},
{ id: 0x1F63E, desc: "POUTING CAT FACE"},
{ id: 0x1F63F, desc: "CRYING CAT FACE"},
{ id: 0x1F640, desc: "WEARY CAT FACE"},
{ id: 0x1F641, desc: "SLIGHTLY FROWNING FACE"},
{ id: 0x1F642, desc: "SLIGHTLY SMILING FACE"},
{ id: 0x1F645, desc: "FACE WITH NO GOOD GESTURE"},
{ id: 0x1F646, desc: "FACE WITH OK GESTURE"},
{ id: 0x1F647, desc: "PERSON BOWING DEEPLY"},
{ id: 0x1F648, desc: "SEE-NO-EVIL MONKEY"},
{ id: 0x1F649, desc: "HEAR-NO-EVIL MONKEY"},
{ id: 0x1F64A, desc: "SPEAK-NO-EVIL MONKEY"},
{ id: 0x1F64B, desc: "HAPPY PERSON RAISING ONE HAND"},
{ id: 0x1F64C, desc: "PERSON RAISING BOTH HANDS IN CELEBRATION"},
{ id: 0x1F64D, desc: "PERSON FROWNING"},
{ id: 0x1F64E, desc: "PERSON WITH POUTING FACE"},
{ id: 0x1F64F, desc: "PERSON WITH FOLDED HANDS"}
);
html = '
CHART | HEX-CODE | DEC-CODE | DESCREPTION | &#' + emojiList[i].id + '; | 0x' + emojiList[i].id.toString(16) + ' | ' + emojiList[i].id + ' | ' + emojiList[i].desc + ' |
'
document.getElementById("emoji").innerHTML = html