The chat record generally stores emoticesCode, Displays emoticon images ..... Effect
You need to write a regular expression to replace the section enclosed in brackets ([]) in textarea with the corresponding image.
The source code is as follows:
// Dml@2012.9.10 emotion parsevar em = [{'id': 1, 'phrase ':' [heap] ', 'url': '1.gif'}, {'id': 2, 'phrase ':' [Giggle] ', 'url': '2.gif'}, {'id': 3, 'phrase': '[Haha]', 'url ': '3.gif '}, {'i
/Ue02f
/Ue024
/Ue025
/Ue026
/Ue027
/Ue028
/Ue029
/Ue02a
/Ue02b
/Ue02c
/Ue02d
/Ue02e
/Ue332
/Ue333
/Ue24e
/Ue24f
/Ue537
In the VB window, what parts can be used to display animations, such as QQ expressions?
You can break down an animation into several images and display them cyclically with a certain time difference, so that you can achieve the effect you mentioned. The code displayed cyclically can be placed unde
During work, you need to parse and display QQ emoticons. In the following code, data and data2 correspond to Chinese and English emoticons respectively, "\" indicates escape.VaR url = 'HTTP: // res.mail.qq.com/zh_cn/images/mo/default2 /';
VaR DATA = {
"0": "Smile", "1": "grin", "2": "color", "3": "Daze", "4": "satisfied ", "5": "Tears", "6": "Shy", "7": "shut up", "8": "Sleep", "9": "cry ", "10": "embarrassing"
, "11": "Angry", "12": "naughty", "13": "fangya", "14": "surprised", "15 ": "sad", "1
Original author of Australian 19-year-old--davis Allie----addressWhen the Mid-Autumn Festival, to the outside of the program Ape!Sao years, write an expression on your own. Dou-seal.svg.png
First. Introduced
With the release of iOS10 , Apple has opened the messages app to developers, and developers can now create their own IMessage appswith various types that can inline iMessage content. Contains a simple emoticon package to a complex in
This is a good article. I transfer it to my favorites. The highest level of technology is sharing.
I have been engaged in the android Sina Weibo client recently and have some experiences with it.The following ideas can be used to get the expression function of the android client:1. The homepage downloads Sina's emoticons to a local folder. The emoticons are named after the emoticons of Sina Weibo.For example, if shame.gif is the shame of Sina, you can also name it as shame.gif. The same name is
-emoticon password.This is indeed a good idea, especially when surveys show that it is easier for people to remember the plots and pictures, rather than numbers or words.The company cooperates with banks to develop the interfaces and systems required for using our online accounts. Although the prototype they present is not the final product-the Bank app, it can at least be inferred that this is customized to meet the needs of banks, at the same time,
customize and delete the toolbar in the editor. For more information, see the existing toolbar.62. fckconfig. entermode = 'P'; // press enter in the editor to generate the data in the Code. Optional values: p | Div | br63. fckconfig. shiftentermode = 'br '; // SHIFT + press enter in the editor, which is generated in the Code. Optional values: p | Div | br64. fckconfig. contextmenu = string array; // context menu content65. fckconfig. fontcolors = ""; // text color list66. fckconfig. fontnames =
= ""; // download the spelling checker URL34. FCKConfig. SmileyPath = FCKConfig. BasePath + 'images/smiley/msn/'; // storage path of the emoticon File35. FCKConfig. SmileyImages = ''; // list of emoticon file names. For details, refer to the default settings.36. FCKConfig. SmileyColumns = 8; // Number of emoticon columns displayed in the
In QQ (Feixin), we enter "/smile" in the chat window to display a smiling image.
How to implement this "text-> image" conversion, which uses the multi-tree data structure. The entire process requires three steps:
Step 1: Prepare emoticon resources.
First, let's talk about the special features of the following emoticon images. Because the emoticon is in PNG format
fcktemplates. xml.Now, the outermost layer is simplified. after entering the editor folder, delete the "_ source" folder first. Here are some source files, which are useless for use.
Go to the images folder and delete the smiley folder. Some files are placed with emoticon icons. As I will use my emoticon icons, delete them first. Of course, if you want to useDo not delete the
independently generated by the IDENTITY property, so these values will be unique in two tables.See Figure 1 for an emoticon of step 1th.Figure 1. ORDER_ID sequence value overrides identity column
2nd step: Wait until the order is synchronizedThe Widget company does not want to wait until the quarter begins (when orders are reset), but decides to monitor the status of the order. When the results of the following query are empty tables, they go to step
"insert link ".
3: specialbutton. These are the insert emoticon buttons that are similar to me. It will have a drop-down list for you to choose from. In addition, there are the buttons that select "foreground color" and "background color. It is similar./////////////// //////////// Add the toolbar of the emoticons button. push (New c_rte_tb_specialbutton (g_strrteinsertemoticonmnemonic, rte_generateinsertemoticontoolbarbuttonhtml, true, new c_rte_tb_s
FCKeditor is absolutely powerful, open-source, constantly updated, and supported in multiple languages. Therefore, there are many users, such as Baidu and csdn.
Now we will give a brief introduction to the setting and use of the latest version (2.3). We hope it will be helpful to you. Based on the time-most valuable principle, we will talk little about it.
[1] simplified
Go to fckeditor_2.3.2/FCKeditor and delete the folders starting with "_". These folders contain examples or other tools. In fa
format of the emoticon action file is as follows ($ split represents the delimiter ):
// 1234 $ split "1234567, where are my friends? 1234 !!!!!"//? $ Split looks at the object with doubts...//?? $ Split: Yes, I have broken my head and I have not come up with a solution.//??? $ Split what's going on? What the hell is going on?
The previous // 1234 represents the emoticon action code. the separator represen
the content on the page of the speech framework is complete.
Expressions and actions
Emotions and actions greatly enrich the fun of chatting. Generally, chat rooms are sent in two ways.
(1) button menu Method
Select from a fixed drop-down menu, find your satisfied expression, select it, and press the send button to send it.
(2) manually enter the code
For example, Netease's manual input // hello represents a welcome action, and // bye represents a goodbye action.Here we will introduce the speci
When you select an emoticon to insert a text field, a string similar to [Haha] is displayed. Below is a method to convert an emoticon string to an image emoticon, which is common in Weibo or forum, when you select an emoticon to insert a text field, a string similar to [Haha] is displayed. Below is a method to convert
, fcktemplates. XML is enough. The outermost layer is simplified. after entering the Editor folder, delete the "_ source" folder first. Here are some source files, which are useless for use.
Go to the images folder and delete the smiley folder. Some files are placed with emoticon icons. Because I will use my own emoticon icons to delete them first, of course, if you want to use the emojis here, do not delet
FCKeditor can directly use a brand new website without any modifications. However, for the vast majority of existing websites, some FCKeditor settings are not suitable for your use. This article aims to tell you how to modify FCKeditor to make it easier for your website to use.
The first task is to streamline the powerful editor. Of course, it is to streamline the file, not the function. Here, I use the FCKeditor of asp as an example to go to The FCKeditor 2.0 folder and delete all the folders
. Some files are placed with emoticon icons. Because I will use my own emoticon icons to delete them first, of course, if you want to use the emojis here, do not delete them. Exit images and enter the Lang folder. Here, you can clean things in a large way, only keep fck1_agemanager. JS, zh-cn.js, en. JS, Zh. JS. The first file is the language configuration file, which can be used with fckconfig. JS settings
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.