All Projects → Lanfei → jquery-sina-emotion

Lanfei / jquery-sina-emotion

Licence: MIT license
一个用来方便快速地创建新浪微博表情选择对话框的jQuery插件。

Programming Languages

HTML
75241 projects
CSS
56736 projects
javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to jquery-sina-emotion

NoobScroll
A lightweight jQuery Plugin that add some cool function to make scrolling more fun [Archive]
Stars: ✭ 43 (-23.21%)
Mutual labels:  jquery-plugin
jquery-slidePanel
A jquery plugin that show a slide panel on side.
Stars: ✭ 46 (-17.86%)
Mutual labels:  jquery-plugin
cazary
jQuery plugin of WYSIWYG editor that aims for fast, lightweight, stylish, customizable, cross-browser, and multi-language.
Stars: ✭ 12 (-78.57%)
Mutual labels:  jquery-plugin
jquery-digitalwrite
jquery plugin to write charecters in digital format in a 5x5 matrix
Stars: ✭ 24 (-57.14%)
Mutual labels:  jquery-plugin
jQuery-Freeze-Table-Column-and-Rows
This is a jQuery plugin that can make table rows and columns not scroll. It can take a given HTML table object and set it so it can freeze a given number of columns or rows or both, so the fixed columns or rows do not scroll. The rows to be frozen should be placed in the table head section. It can also freeze rows and columns combined with using…
Stars: ✭ 20 (-64.29%)
Mutual labels:  jquery-plugin
FieldsLinker
Designed for matching files headers to database fields during the process importing. Allows drawing links between elements of 2 lists
Stars: ✭ 18 (-67.86%)
Mutual labels:  jquery-plugin
emulatetab
A jQuery plugin to emulate tabbing between elements on a page.
Stars: ✭ 15 (-73.21%)
Mutual labels:  jquery-plugin
jQuery-Facebook-Stream
Display all your wall post, comments & likes in groups or fans page.
Stars: ✭ 24 (-57.14%)
Mutual labels:  jquery-plugin
jquery-transfer
☑️ A jQuery plugin that is a shuttle box
Stars: ✭ 41 (-26.79%)
Mutual labels:  jquery-plugin
jquery-slidescrollpanel
Create sliding scroll panels that slide in by touch, trackpad and scrolling
Stars: ✭ 16 (-71.43%)
Mutual labels:  jquery-plugin
fancy-textfill
Fast implementation for resizing text to fill its container.
Stars: ✭ 17 (-69.64%)
Mutual labels:  jquery-plugin
jquery-datepicker
A full-featured datepicker jquery plugin
Stars: ✭ 35 (-37.5%)
Mutual labels:  jquery-plugin
jquery-profile
jQuery plugin to profile calls to jQuery selectors.
Stars: ✭ 39 (-30.36%)
Mutual labels:  jquery-plugin
jquery-lightbox
A jQuery plugin, inspired and based on Lightbox 2 by Lokesh Dhakar
Stars: ✭ 22 (-60.71%)
Mutual labels:  jquery-plugin
jquery-custom-select
Custom Select jQuery Plugin
Stars: ✭ 27 (-51.79%)
Mutual labels:  jquery-plugin
scrollbox
A lightweight jQuery custom scrollbar plugin, that triggers event when reached the defined point.
Stars: ✭ 15 (-73.21%)
Mutual labels:  jquery-plugin
jqScribble
A touch enabled jquery plugin for drawing on a canvas
Stars: ✭ 72 (+28.57%)
Mutual labels:  jquery-plugin
fixedThead
A jQuery plug-in for fixed table header
Stars: ✭ 21 (-62.5%)
Mutual labels:  jquery-plugin
Facebook-Album-Browser
jQuery plugin for browsing public albums of a Facebook account
Stars: ✭ 76 (+35.71%)
Mutual labels:  jquery-plugin
kolorwheel.js
🌈 Color palette generator JavaScript library
Stars: ✭ 37 (-33.93%)
Mutual labels:  jquery-plugin

jQuery Sina Emotion · GitHub license npm version

一个用于方便快速地创建新浪微博表情选择对话框的 jQuery 插件。

有何特点

  • 使用简单,一行代码即可创创建出表情选择对话框
  • 自带智能表情解析方法(但还是建议表情解析在服务端进行)
  • 兼容IE6+、Chrome、Firefox、Opera等各种浏览器

插件演示

演示地址

使用方法

// 未指定插入文本框时,自动寻找同表单中第一个 textarea 或 input[type=text] 元素
$(selector).click(function(event){
	$(this).sinaEmotion();
	event.stopPropagation();
});

// 手动指定插入文本框
$(selector).click(function(event){
	$(this).sinaEmotion(target);
	event.stopPropagation();
});

参数配置

$.fn.sinaEmotion.options = {
    pageSize: 72 // 每页显示的表情数
};

表情解析

$(selector).parseEmotion();

具体的使用方法请看 Demo

获取插件

更新日志

  • 1.0.0(2012.08.22)
  • 1.1.0
    • 完善代码并于Google Code开源
  • 1.2.0
    • 修正同一页面中对不同文本框使用该插件时插入位置错误的BUG(感谢 @BelinChung 提出)
  • 1.3.0
    • 修正IE下负margin失效导致表情换行的小BUG(由 @蜗牛都知道 发现)
  • 2.0.0
    • 全新重构插件代码
    • 新增表情解析方法
    • 开源于 GitHub码云
  • 2.1.0
    • 修复多次调用插件而对象文本框不同时,表情文本插入对象错乱问题
    • 修复表情接口未返回时,多次调用解析表情方法未成功解析的问题
    • 修改表情选择框显示机制,提高使用自由度(与低版本不兼容,升级插件时请注意修改调用方式,详见Demo)
    • 一些优化
  • 3.0.0
    • 兼容 webpack 等模块打包器
    • 优化代码,修复一些偶现的 Bug
    • 作为 npm 模块发布
  • 4.0.0
    • 移除新浪微博接口请求
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].